Send email notifications when important user account information is changed
Created by: nicksnyder
When important user data is changed, we should send an email notification to tell the user what changed. This will alert the user in the event that their account has been taken over by someone else (to be clear, this has not ever happened).
For example:
- Adding email address
- Removing email address
- Changing password
- Adding an access token
Since auth is owned by @sourcegraph/core-services I am assigning @tsenart. This is not a high priority since there is no private code on sourcegraph.com and on-premise instances generally use some sort of SSO.