Prevent Welcome Email/Verification Email to Customer with SSO Setup

Is it possible to prevent the welcome and verification email from going out to a specific domain? A customer has SSO setup and the welcome email requests password setup. We would like to suspend/prevent the welcome emails from going out to a specific domain because it confuses customers.

Any ideas on how to do this?

Hi @timwashington,

Similar to this topic, unfortunately, the welcome email is either sent to all new users or no one.

However, you can disable the welcome email and email verification email for everyone and use a rule to only send the emails to some users: Customize Email Handling.

For the welcome email, you would need to set up your own email endpoint as you can’t trigger the Auth0 welcome email, but you can use the Management API to send the email verification template like so:

  var ManagementClient = require('auth0@2.9.1').ManagementClient;
  var management = new ManagementClient({
     token: auth0.accessToken,
     domain: auth0.domain
  });
  var params = {
       user_id: '{USER_ID}'
  };

   management.sendEmailVerification(params, function (err) {
       if (err) {
             // Handle error.
       }
   });
}
1 Like

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