Article version: Enterprise Server 2.14

This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2019-07-12. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

About email notifications for pushes to your repository

You can choose to automatically send email notifications to a specific email address when anyone pushes to the repository.

You'll only receive email notifications if outbound email support is enabled on your GitHub Enterprise Server instance. For more information, contact your site administrator.

Note: GitHub Services, the underlying app that allowed users to customize email notifications for pushes to repositories, will no longer be supported as of GitHub Enterprise 2.17. Starting in GitHub Enterprise 2.17, we will provide an alternative path for email notifications for pushes to repositories.

Each email notification for a push to a repository lists the new commits and links to a diff containing just those commits. In the email notification you'll see:

You can filter email notifications you receive for pushes to a repository. For more information, see "About notification emails." You can also turn off email notifications for pushes. For more information, see "Choosing the delivery method for your notifications."

Enabling email service notifications for pushes to your repository

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Settings.

    Repository settings button

  3. Click Integrations & Services.

    Integrations and services selection

  4. Click Add service, then type "Email."

    Add service menu

  5. Type up to two email addresses, separated by whitespace, where you'd like notifications to be sent. If you'd like to send emails to more than two accounts, set one of the email addresses to a group email address.

    Email address textbox

  6. If you operate your own server, you can verify the integrity of emails via the Secret token. This token is sent with the email as the Approved header. If the Approved header matches the token you sent, you can trust that the email is from GitHub Enterprise.

    Email secret textbox

  7. Optionally, select Send from author to have emails delivered using the committer's email address. Otherwise, emails are sent from the no-reply email address configured by your site administrator.

    Email author checkbox

  8. Click Add service.

    Email add service

Disabling email service notifications for pushes to your repository

  1. On GitHub Enterprise, navigate to the main page of the repository.

  2. Under your repository name, click Settings.

    Repository settings button

  3. Click Integrations & Services.

    Integrations and services selection

  4. Under "Services", next to your added email notification, click .

    Delete email service

Further reading

Ask a human

Can't find what you're looking for?

Contact us