Stop Verification Email from Sending for Certain Applications
Last Updated:
Overview
This article explains how to suppress sending a verification email for one application, but keep the automatic verification email functionality for other applications on the tenant.
Applies To
- Verification Email
- Applications
Solution
In order to suppress the verification email from being automatically sent for certain applications, there are a couple of options:
- Set up an interface that could call the tenant's Management API to create users and specify one of the following in the new user's attributes:
- email_verified: true (this will consider the user already verified at creation, and no email is automatically sent)
- verify_email: false (this can be used to stop the automatic verification email being sent, even if the "email_verified" attribute is set to false or not specified)
----------------
- Turn off the Verification Email template at the tenant level - this would stop the email being sent for all user creations/signups. This can be done by toggling off the "Status" button when viewing the Verification Email template's settings in Auth0's Dashboard > Branding > Email Templates.
----------------
Option 1 is better for scenarios where it is desired to continue using the automatic verification email for other applications, and the suppressed application does not allow signups, so users are created via the Management API.
Option 2 is a more involved solution requiring that automatic verification emails are disabled and a custom verification flow implemented, but would allow for changing the behavior between applications whilst still allowing users to sign themselves up through Universal Login.
If this is desirable to be supported "out of the box", please consider raising it here as a feature request: https://auth0.com/feedback