sourcegraph/internal/api
Robert Lin 7ec296a9da
email: do not send certain emails to unverified emails (#46184)
We should seek to avoid damaging email reputations by validating if emails are verified before sending certain types of potentially high-frequency, non-essential emails to user primary emails, in this change:

- Account update notifications
- Code monitors

In practice, at the moment only builtin auth signups will create accounts that have unverified primary emails. External service accounts are created with primary emails already verified, and so are those created with the createUser mutation (which I am hoping to change in #46187).

Today, a user could create a user with an invalid email, and then proceed to set up a code monitor that accidentally sends large numbers of emails that all bounce, which has implications for Cloud's managed SMTP services.

Co-authored-by: Joe Chen <joe@sourcegraph.com>
2023-01-10 19:08:53 +00:00
..
internalapi email: do not send certain emails to unverified emails (#46184) 2023-01-10 19:08:53 +00:00
api_test.go gitserver: Sync soft deleted repos clone status (#34583) 2022-04-28 09:44:03 +02:00
api.go api: remove type api.Repo (#45146) 2022-12-05 10:13:53 +01:00
httpapi_schema.go phabricator: Simplify repo create (#39487) 2022-07-27 15:10:10 +02:00