# Email Templates that change based on Owner

**URL:** <https://forum.mautic.org/t/email-templates-that-change-based-on-owner/15692>\
**Category:** General Discussion\
**Created:** [August 17, 2020, 10:50pm UTC](https://forum.mautic.org/t/email-templates-that-change-based-on-owner/15692 "2020-08-17T22:50:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gabe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gabe/32/436_2.png) [@gabe](https://forum.mautic.org/u/gabe)\
**Post date:** [August 17, 2020, 10:50pm UTC](https://forum.mautic.org/t/email-templates-that-change-based-on-owner/15692/1 "2020-08-17T22:50:06Z")

</div>

I’m trying to make my email templates based on the owner of the emails. Specifically, we use calendly for sending calendar links that show the availability of the sales team. I’d like the emails to automatically change the calendly link shown based on the contact owner.

I checked the email template variables but I don’t see any variables relating to owner. I then tried to use the [Advanced Templates Bundle](https://github.com/Logicify/mautic-advanced-templates-bundle) and I was hoping to access an owner\_id or something via TWIG but that didn’t work either.

Anyone have any suggestions on how to accomplish this?

---

<div class="post-metadata">

**Author:** ![gabe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gabe/32/436_2.png) [@gabe](https://forum.mautic.org/u/gabe)\
**Post date:** [September 2, 2020, 3:49pm UTC](https://forum.mautic.org/t/email-templates-that-change-based-on-owner/15692/2 "2020-09-02T15:49:37Z")

</div>

With Mautic 3.1 we now have the ability to use owner information in email templates! Luckily our calendly links are all the same except for the first name of the sales rep. So I was able to accomplish this using the following href link in my email templates:  
`https://calendly.com/incentfit-{ownerfield=firstname}/intro`

---

<div class="post-metadata">

**Author:** ![gabe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/gabe/32/436_2.png) [@gabe](https://forum.mautic.org/u/gabe)\
**Post date:** [September 14, 2020, 8:44pm UTC](https://forum.mautic.org/t/email-templates-that-change-based-on-owner/15692/3 "2020-09-14T20:44:29Z")

</div>

After sending out a campaign using this, turns out there are bugs preventing this from working as of version 3.1.0. Looks like there’s a partially broken pull request at the link below that will resolve this…

> <https://github.com/mautic/mautic/pull/7548>
