Add Pre Email Delivery flow

Feature: Provide a short title of your feature request/feedback.

Add Pre Email Delivery flow.

Description: Give us some details about your feedback/feature request. Examples, screenshots, videos, etc. are helpful.

Since email template customization is so limited, and it’s not possible to disable certain emails (f.e. password change), or to send a localized welcome email to users that used a social connection (!), it would be useful to have a Pre Email Delivery flow that would:

  • Pass a name/identifier of the email to be sent (f.e. WELCOME_EMAIL).
  • Allow you to disable the default Auth0 email by returning false.
  • Access information about the registration/login.
  • Allow you to set or change the subject/body before Auth0 sends the email.
  • OR, to send the email yourself using an external API.

Use-case: Tell us what you are building. How would the feedback/feature improve your experience?

Taking over the sending of all emails until Auth0 can provide proper localization functionality and the ability to localize welcome emails sent to users who registered via a non-database connection.

Thanks for the detailed feedback!