Disable Welcome email in Auth0

I will be migrating some customers from external source to Auth0 and I don’t want to send welcome email to those migrated customers.Do i need to create Post-User-Registration hook?

What approach should be taken?

Thanks

Hi @sureshkrishnan-mr,

If you have the Auth0 Welcome Email template enabled (status toggle turned on), then the welcome email will be sent automatically when a user is registered.

Unfortunately, you can’t prevent the welcome email for some users and not others, even within a hook or a rule.

What you can do is disable the Welcome Email template and then set up your own email endpoint to send Welcome Emails. You could add a key such as welcome_email_sent in the users’ app_metadata to keep track of whether the user should be sent a welcome email like in the example here: Customize Email Handling

2 Likes

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