Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Select Topic Area

Question

Body

Hi, I saw that last summer, additional GitHub headers were added to emails, in this announcement: https://github.com/orgs/community/discussions/169627

These headers will be populated based on the fields that are set in your issue or pull request, but can include the following:

  • X-GitHub-Labels
  • X-GitHub-Assignees
  • X-GitHub-Milestone
  • X-GitHub-IssueType.

I would like to use them at work, but unfortunately they do not appear in emails from GitHub enterprise.

Is there a setting that needs to be enabled at the admin/enterprise level? Or if it's not yet available to enterprise, is there a chance it can be made available in the future?

You must be logged in to vote

Replies: 1 comment · 3 replies

Comment options

These headers are typically available by default on GitHub Enterprise Cloud. However, if your company uses GitHub Enterprise Server (GHES), you usually need to be on version 3.12 or higher to see this parity.

There isn’t a specific toggle in the admin settings to enable them. If you are already on a recent version and they are still missing, the most likely culprit is your company’s email gateway or SMTP relay stripping out custom X- headers for security or policy reasons before the email reaches your inbox.

It might be worth checking with your mail admins to see if those headers are being filtered.

Hope this helps out!

You must be logged in to vote
3 replies
@at032817-2
Comment options

Thank you. We are on GHES 3.16, so the mail server stripping them out seems likely. I'll look into it, thanks.

@at032817-2
Comment options

Also, are there any other reasons you know of why the headers would be missing? The strange thing is I do see there are some headers in the emails, just not all of them

X-GitHub-Sender: ...
X-GitHub-Recipient: ...
X-GitHub-Reason: review_requested

@at032817-2
Comment options

@frazrajpoot01 you said that is the "most likely reason" , what are the other possible reasons?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enterprise Discussions related to GitHub Enterprise Cloud, Enterprise Server and Organizations Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community!
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.