Skip to content

Instantly share code, notes, and snippets.

@BPScott
Last active February 7, 2024 16:16
Show Gist options
  • Star 54 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BPScott/1366790 to your computer and use it in GitHub Desktop.
Save BPScott/1366790 to your computer and use it in GitHub Desktop.
Github suggestion: Per-organization email overrides

This totally happened, y'all can stop +1ing this now. GitHub Blog post. Direct link to settings where you can set this.


#Per-organization / per-repo email overrides - A feature suggestion

Here the concepts "organization" and "user" are interchangeable, I'm talking about an entity that owns a repo, whether it is jQuery or John Resig. I'll stick to using organization as it best represents my original use-case.

##TL;DR

I want to get notifications from my work organization in my work email account, not my personal one. Github should provide an interface for this that isn't "setup forwarding in your personal email".

##The Situation

I use Github for personal projects and as part of a work organization. Currently Github sends all my notifications into a single inbox - my personal one.

##The Problem

I don't want everything to go to my personal email. I want notifications on my work projects to go to my work email and notifications on my personal projects to go to my personal email. Optionally repeat for any other hypothetical organization I might be a member of / user or repo I interact with.

##The Workaround

I can setup forwarding rules in my personal email based off the List-ID header (As told to the masses in this blog post, under "Filter Notifications by Repository or User" but this feels clunky, as though it should be managed as part of Github.

##The Solution

Create an option that allows me to override the email that my notifications should be sent to on a per organization / repo basis.

Github already knows what organization and repo a notification relates to as it sets the List-ID header, changing the from header based off these details that are already exposed should be pretty simple. I already specify the emails addresses I use at https://github.com/account/email. Perhaps an option on there for "receives notifications from: default | organization | organization/repo". Later per-email address notification settings could be added on https://github.com/account/notifications.

##Thoughts?

@asnowfix
Copy link

This does not apply to the repositories I am watching from other orgs: only to those of the orgs I am a member of. I would like to select which email to pick to get notifications for the repos I am watching as an indivual / as an employee / as a contractor.

@erwinpratama
Copy link

+1 for You

@AdamPelc
Copy link

+1

@blaise17
Copy link

blaise17 commented Feb 4, 2022

https://gist.github.com/BPScott/1366790?permalink_comment_id=3266066#gistcomment-3266066
This is exactly what I need too. My work has slack notifications set up for github, so I don't ever need email notifications for that organisation. But for everything else I do want my email notifications.

@masterewot
Copy link

+1 bro

@nickboldt
Copy link

+1, it's annoying that when I make a suggestion on a PR, my non-default personal address is used instead of my work one.

@andersjr1984
Copy link

For anyone still looking for this feature: https://github.com/settings/notifications/custom_routing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment