Restricting email notifications for your enterprise account

You can prevent your enterprise's information from leaking into personal email accounts by restricting the domains where members can receive email notifications about activity in organizations owned by your enterprise account.

Enterprise owners can restrict email notifications for an enterprise account.

Enterprise accounts are available with GitHub Enterprise Cloud and GitHub Enterprise Server. For more information, see "About enterprise accounts."

About email restrictions for your enterprise account

When you restrict email notifications, enterprise members can only use an email address in a verified or approved domain to receive email notifications about activity in organizations owned by your enterprise account.

Note: Domain approval is currently in beta and subject to change.

The domains can be inherited from the enterprise account or configured for the specific organization. For more information, see "Verifying or approving a domain for your enterprise account" and "Restricting email notifications for your organization."

After you enable email restrictions, members can receive email notifications at verified email addresses within domains that you've verified or approved. For more information, see "Verifying your email address."

If email restrictions are enabled for an enterprise account, organization owners cannot disable email restrictions for any organization owned by the enterprise account. If changes occur that result in an organization having no verified or approved domains, either inherited from an enterprise account that owns the organization or for the specific organization, email restrictions will be disabled for the organization.

Restricting email notifications for your enterprise account

Before you can restrict email notifications for your enterprise account, you must verify or approve at least one domain for the enterprise account. For more information, see "Verifying or approving a domain for your enterprise account."

  1. In the top-right corner of GitHub, click your profile photo, then click Your enterprises. "Your enterprises" in drop-down menu for profile photo on GitHub

  2. In the list of enterprises, click the enterprise you want to view. Name of an enterprise in list of your enterprises

  3. In the enterprise account sidebar, click Settings. Settings tab in the enterprise account sidebar

  4. Under "Settings", click Verified & approved domains. "Verified & approved domains" tab

  5. Under "Enforcement preferences", select Restrict email notifications to domain email. Checkbox to restrict email notifications to verified domain emails

  6. Click Save.

Did this doc help you?Privacy policy

Help us make these docs great!

All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.

Make a contribution

Or, learn how to contribute.