Customize Email Template From Field

Problem Statement:

We have multiple applications in the same tenant. How do we customize the From email address for each of these applications?

Solution:

We can use Liquid Syntax with if statements inside the FROM field in the Branding section of the Auth0 Dashboard. Here are the sample scripts:

{% if[ application.name](https://application.name/) == 'Your App1 Name' %} Your App1 Name <user@app1.com>{% elsif[ application.name](https://application.name/) == 'Your App2 Name' %} Your App2 Name <user@app2.com>{% else %} Other App <user@otherapp.com> {% endif %}

Reference: