You must configure a From address at the provider or template level to send customized emails. To learn more, read the Configure From Address section in Configure template fields.
You must configure your own email provider using a third-party service (such as Amazon SES, Mandrill, SendGrid, SparkPost, Mailgun, or a custom SMTP provider) to be able to customize your emails. To learn more, read Configure External SMTP Providers. Auth0 allows you to customize your Email Templates in the Dashboard (Dashboard > Branding > Email Templates), also providing templating with some contextual attributes in Liquid. To learn more, read Using Liquid Syntax in Email Templates. This can include references to the context of the current application or user. You can only use one template for each template type. Auth0 does not support plaintext/text-based emails. You can customize the From Address, the Subject, and the Message body for each email template. You can use Liquid Syntax to dynamically generate content, with access to a number of contextual variables that will be replaced with the relevant values when rendering the email messages.
When you click the Try button, Auth0 sends the email for a default app named after your tenant’s raw name (that is, not the friendly name). To test templates for different applications, create a sample user to go through the relevant flows.Verification emails, however, can be triggered manually for specific applications and users using the Auth0 Management API Send an email address verification email endpoint.

Common variables

You can access the following common variables when using Liquid Syntax in the From Address, Subject, and Message fields:
  • The application object, with access to the standard client properties like
    • application.name
    • application.clientID
    • application.metadata
  • connection.name (except in the Multi-factor Enrollment Email)
  • Language selection for users
    • request_language
  • The user object, with access to the following properties:
    • user.email
    • user.email_verified
    • user.picture
    • user.nickname
    • user.given_name
    • user.family_name
    • user.name
    • user.app_metadata - stores information (such as a user’s support plan, security roles, or access control groups) that can impact a user’s core functionality, such as how an application functions or what the user can access.
    • user.user_metadata - stores user attributes (such as user preferences) that do not impact a user’s core functionality.
  • Tenant-related information (defined in the Tenant Settings):
    • tenant - the raw tenant name
    • friendly_name
    • support_email
    • support_url
  • Multiple information:
    • custom_domain.domain - the tenant’s domain name
The following user properties are untrusted and must be piped through Liquid’s escape function ({{ user.name | escape }}):
  • user.picture
  • user.nickname
  • user.given_name
  • user.family_name
  • user.name
In addition, any user.user_metadata properties that may contain user-provided information must be escaped.
The following email templates can be further customized for Organizations:
  • Welcome: Received by the end-user once they verify their email address or, if email verification is disabled, when they sign up (or log in for the first time).
  • Password Change: Received by the end-user when they request a password change. Contains a link that redirects them to the Password Reset page.
  • Blocked Account: Received by the end-user when a user attempts to log in ten or more times unsuccessfully from the same IP address.
  • Breached Password Alerts: Received by the end-user when Auth0 detects that the user is trying to access the application using a password that has been leaked by a third party.
  • Invite User: Received by the end-user when they are invited to an organization. Contains a link that redirects them to a custom invitation page. To learn more, see Invite Organization Members.
When a user logs in through an Organization, the following additional variables are available:
  • organization.id
  • organization.display_name
  • organization.name
  • organization.metadata
  • organization.branding.logo_url
  • organization.branding.colors.primary
  • organization.branding.colors.page_background
Variables are referenced using the {{ variable_name }} syntax in Liquid. For example: Hello {{ user.name }}. Welcome to {{ application.name }} from {{ friendly_name }}. The attributes available for the user object will depend on the type of connection being used. Individual email templates define additional variables that are appropriate for the specific template. For those emails where the user needs to follow a link to take action, you can also configure the URL Lifetime and Redirect To URL destination after the action is completed. Liquid Syntax is also supported in the Redirect To URL field, but only three variables are supported:
  • application.name
  • application.clientID
  • application.callback_domain

Configure template fields

You need to configure the following fields:

Learn more