# Is it possible to change From field dynamically in Email Templates(Change Password)?

**URL:** <https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363>\
**Category:** Get Help\
**Tags:** email, password-reset\
**Created:** [April 24, 2019, 9:46am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363 "2019-04-24T09:46:31Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![emag](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emag/32/8045_2.png) [@emag](https://community.auth0.com/u/emag)\
**Post date:** [April 24, 2019, 9:46am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/1 "2019-04-24T09:46:31Z")

</div>

I’m trying to change `From` field according as some conditions(like user.app\_metadata.is\_foo) with [Liquid](https://auth0.com/docs/email/liquid-syntax#liquid-markup-tag).

> The type of `is_foo ` is boolean

But I’ve got the following error message when clicking `Try` button. It looks like the Liquid syntax is not supported in `From` field.

```auto
The value {% if user.app_metadata.is_foo %} FOO <noreply@foo.com> {% else %} BAZ <noreply@baz.com> {% endif %}
is not valid for the From field.
Possible values: an email address ('support@yourapp.com') or a prefix and an email address between <> ('Your App <support@yourapp.com>')

```

Is it possible to change From field dynamically in Email Templates(Change Password)?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 24, 2019, 11:24am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/3 "2019-04-24T11:24:18Z")

</div>

Hey there @emag!

Not sure if it can be changed dynamically but let me research it and get back to you with an answer!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [April 30, 2019, 2:05pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/4 "2019-04-30T14:05:45Z")

</div>

Hey again!

After some internal discussions and visiting this doc:

> **[Use Liquid Syntax in Email Templates](https://auth0.com/docs/customize/email/email-templates/use-liquid-syntax-in-email-templates)**
>
> Describes how to use Liquid syntax in your email templates.

liquid syntax is is available in from field. The **From Address** field supports all the [common variables](https://auth0.com/docs/email/templates#common-variables) for templates.

---

<div class="post-metadata">

**Author:** ![emag](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emag/32/8045_2.png) [@emag](https://community.auth0.com/u/emag)\
**Post date:** [May 1, 2019, 5:07am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/5 "2019-05-01T05:07:35Z")

</div>

Hi, Konrad!

Thank you for your investigation.

Unfortunately, it looks like the situation hasn’t changed.

Steps to reproduce:

1. Input the string including Liquid tag in From field on Change Password Email Template

```auto
{% if user.app_metadata.is_foo %} FOO <noreply@foo.com> {% else %} BAZ <noreply@baz.com> {% endif %}

```

> [noreply@foo.com](mailto:noreply@foo.com) and [noreply@baz.com](mailto:noreply@baz.com) are just examples. I replace them with valid addresses.

1. Click `SAVE`
2. Click `TRY` and show the error message

 ![from_field_validation_error](https://global.discourse-cdn.com/auth0/original/2X/5/5677c099541b98f5f5250f37271db826a91361a6.png)

1. Click `TRY` in the dialogue but I never receive the mail

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 6, 2019, 11:44am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/6 "2019-05-06T11:44:43Z")

</div>

Thank you a lot for providing all that information. Let me dive into it once again and get back to you once I have news to share!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [May 9, 2019, 5:34pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/7 "2019-05-09T17:34:44Z")

</div>

I was able to get the same results. It seems that either there is something wrong with our stack or the doc itself. I’ll make sure to report it internally!

---

<div class="post-metadata">

**Author:** ![emag](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/emag/32/8045_2.png) [@emag](https://community.auth0.com/u/emag)\
**Post date:** [June 13, 2019, 9:10pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/8 "2019-06-13T21:10:54Z")

</div>

Hi, @konrad.sopala ! Any update on this? Thanks!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [June 14, 2019, 10:25am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/10 "2019-06-14T10:25:41Z")

</div>

Hey there!

Let me circle back with the team to see where it went in the meantime!

---

<div class="post-metadata">

**Author:** ![oleg](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/oleg/32/15190_2.png) [@oleg](https://community.auth0.com/u/oleg)\
**Post date:** [August 2, 2019, 9:24pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/11 "2019-08-02T21:24:38Z")

</div>

Hi @konrad.sopala! Updates on this issue and possible solution is so much needed here as well. Thanks.

---

<div class="post-metadata">

**Author:** ![fetis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fetis/32/9819_2.png) [@fetis](https://community.auth0.com/u/fetis)\
**Post date:** [October 1, 2019, 12:39pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/12 "2019-10-01T12:39:28Z")

</div>

> [@konrad.sopala](#):
>
> The **From Address** field supports all the [common variables](https://auth0.com/docs/email/templates#common-variables) for templates.

I don’t think it’s fully correct. When I try to use `support_email` variable in the `From` field I get a similar message as the topic starter

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [October 4, 2019, 11:38am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/13 "2019-10-04T11:38:45Z")

</div>

Alright, let me push not only docs team but also the team responsible for email templates as there certainly is a problem not only with docs

---

<div class="post-metadata">

**Author:** ![deck](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/deck/32/12814_2.png) [@deck](https://community.auth0.com/u/deck)\
**Post date:** [January 15, 2020, 7:19pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/14 "2020-01-15T19:19:09Z")

</div>

Hi. Was this ever resolved?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 18, 2020, 6:24pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/15 "2020-03-18T18:24:12Z")

</div>

Not really… Let me chase it once again and ping appropriate team! Will come back here as soon as I have any news to share!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 19, 2020, 10:53am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/17 "2020-03-19T10:53:46Z")

</div>

We only support variables as part of the “prefix” part (the display name) of the From address:

- **Supported:**

{{ [application.name](http://application.name/) }} \<[someone@test.com](mailto:someone@test.com)\>

- **Not supported:**

Some Company \<someone@ {{ [application.name](http://application.name/) }} .com\>  
{{ [application.name](http://application.name/) }} @[test.com](http://test.com/)

When it comes to dynamic change of FROM field, it’s unfortunately not possible.

You can file it as a feature request here:

> **[Auth0: Secure access for everyone. But not just anyone.](https://auth0.com/feedback)**
>
> Rapidly integrate authentication and authorization for web, mobile, and legacy applications so you can focus on your core business.

---

<div class="post-metadata">

**Author:** ![rashid779939](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rashid779939/32/27027_2.png) [@rashid779939](https://community.auth0.com/u/rashid779939)\
**Post date:** [March 19, 2020, 11:37am UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/18 "2020-03-19T11:37:57Z")

</div>

Hi,

I have done something similar to this, let us know if it gets resolved or not?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [March 25, 2020, 3:34pm UTC](https://community.auth0.com/t/is-it-possible-to-change-from-field-dynamically-in-email-templates-change-password/24363/19 "2020-03-25T15:34:40Z")

</div>


