Additional headers added to email notifications for better filtering #169627
Replies: 8 comments 16 replies
This comment was marked as off-topic.
This comment was marked as off-topic.
-
|
Question maybe not exactly about new features, but perhaps it's somehow related because it started about 2 days ago.
It seems that this option does not work anymore. When I receive email notification and read it, then it's not marked as |
Beta Was this translation helpful? Give feedback.
-
|
Is it possible to filter out all e-mails regarding a pull request created by a bot? |
Beta Was this translation helpful? Give feedback.
-
|
I have a fairly extensive Gmail / Google Apps Script that leverages some of these values to organize my PRs further. The main thing it does is bucket my PRs into per-repository labels, nested under |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
|
Any chance of also getting the status? It would be nice to be able to add a "Merged" label automatically! |
Beta Was this translation helpful? Give feedback.
-
|
Bravo @ebndev 👏😄 |
Beta Was this translation helpful? Give feedback.
-
|
There was a PR where I (not the author) commented and merged it. Later, the author added a comment on the PR. The e-mail I received for that comment had the proper |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What's changed
We’re now including the labels, assignees, milestones, and issue types directly in the email headers for issue and pull request emails.
Labels and issue types are essential for organization, but until now, there wasn't a way to use them to filter notifications. As a result, many users have resorted to complex email filters to keep up with the most important conversations. This update enables better auto-filtering and searching by metadata in a supported email client and lets you set up more effective email filters based on your team, project, or workflow.
These headers will be populated based on the fields that are set in your issue or pull request, but can include the following:
If these fields are not populated in the issue or pull request, they will be empty or hidden in the email.
Examples
While most email clients support filtering by custom headers, Gmail and Apple Mail may require extra configuration. See details below:
How to filter by custom headers in Gmail
The
processInbox()function finds all emails in threads received within the last day where the headerX-Github-Assigneesincludeslindseywild. If found, the thread is marked as important and given theGH Assignedlabel.GH Assignedlabel is applied to emails where the assignee is@lindseywild(X-Github-Assignees: lindseywild).How to filter by custom headers in Apple Mail
X-Github-Issuetype,X-Github-Labels, andX-Github-Assigneesappear highlighted.X-Github-Labelsequals"tiny win".For example, emails with
X-Github-Labels: tiny winare moved to the "Tiny Wins" mailbox.Click OK to add your rule. Filtering is now enabled.
(Optional) To run an AppleScript for advanced filtering, select Run AppleScript as the action and attach your script.
How to give feedback
We'd love to about how this change is impacting your workflow. Feel free to leave any feedback or issues you find in the discussion below!
Beta Was this translation helpful? Give feedback.
All reactions