# Prevent Welcome Email/Verification Email to Customer with SSO Setup

**URL:** <https://community.auth0.com/t/prevent-welcome-email-verification-email-to-customer-with-sso-setup/58096>\
**Category:** Get Help\
**Tags:** adfs, sso\
**Created:** [February 18, 2021, 5:30pm UTC](https://community.auth0.com/t/prevent-welcome-email-verification-email-to-customer-with-sso-setup/58096 "2021-02-18T17:30:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timwashington](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/timwashington/32/23075_2.png) [@timwashington](https://community.auth0.com/u/timwashington)\
**Post date:** [February 18, 2021, 5:30pm UTC](https://community.auth0.com/t/prevent-welcome-email-verification-email-to-customer-with-sso-setup/58096/1 "2021-02-18T17:30:49Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![stephanie.chamblee](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephanie.chamblee/32/26087_2.png) [@stephanie.chamblee](https://community.auth0.com/u/stephanie.chamblee)\
**Post date:** [February 18, 2021, 8:53pm UTC](https://community.auth0.com/t/prevent-welcome-email-verification-email-to-customer-with-sso-setup/58096/3 "2021-02-18T20:53:02Z")

</div>

Hi @timwashington,

Similar to this [topic](https://community.auth0.com/t/disable-welcome-email-in-auth0/57464/3), 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](https://auth0.com/docs/auth0-email-services/manage-email-flow?&_ga=2.119198026.239155659.1613392532-1595415333.1607347674#welcome-emails).

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:

```auto
  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.
       }
   });
}

```

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 5, 2021, 8:53pm UTC](https://community.auth0.com/t/prevent-welcome-email-verification-email-to-customer-with-sso-setup/58096/4 "2021-03-05T20:53:06Z")

</div>

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