# Pass dynamic content to "From" e-mail template

**URL:** <https://community.auth0.com/t/pass-dynamic-content-to-from-e-mail-template/63270>\
**Category:** Get Help\
**Created:** [May 24, 2021, 11:49am UTC](https://community.auth0.com/t/pass-dynamic-content-to-from-e-mail-template/63270 "2021-05-24T11:49:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabiocalliari](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/fabiocalliari/32/29585_2.png) [@fabiocalliari](https://community.auth0.com/u/fabiocalliari)\
**Post date:** [May 24, 2021, 11:49am UTC](https://community.auth0.com/t/pass-dynamic-content-to-from-e-mail-template/63270/1 "2021-05-24T11:49:00Z")

</div>

There’s any way to provide a dynamic content to field “From” on e-mail templates, such as reset\_email.json, e.g. “{{ friendly\_name }} {% if A %} [a@example.com](mailto:a@example.com) {% else %} [b@example.com](mailto:b@example.com)”?

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [May 24, 2021, 12:53pm UTC](https://community.auth0.com/t/pass-dynamic-content-to-from-e-mail-template/63270/3 "2021-05-24T12:53:05Z")

</div>

Hi @fabiocalliari,

Unfortunately, the **From** field does not support an if/else block currently. You can reference any of the common variables listed in [the docs](https://auth0.com/docs/email/customize-email-templates#configure-from-address), but the format is expected to be an email address (‘support@yourapp.com’) or an email address with a prefix (‘Your App [support@yourapp.com](mailto:support@yourapp.com)’).

It’d be great to get more information about your use case in a feature request in a feedback topic for our product team and the community to review:

> **[Feedback](https://community.auth0.com/c/feedback/95)**
>
> Submit and vote on product feedback and feature requests.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [June 8, 2021, 11:41am UTC](https://community.auth0.com/t/pass-dynamic-content-to-from-e-mail-template/63270/5 "2021-06-08T11:41:25Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
