getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
39.28k stars 4.21k forks source link

Replace Sendgrid SMTP to instead use their API #57792

Open brianthi opened 1 year ago

brianthi commented 1 year ago

We're currently sending email via SendGrid's SMTP server endpoint instead of their API. According to SendGrid, their API is faster and more reliable than their SMTP relay. However, their API requires us to implement a webhook to receive events in case of failure to send email. Ensure that we have proper error handling to retry failed emails which adds a backoff configuration which adds a minor delay to ensure failed messages do not block other emails in the queue.

valentin-mogenius commented 4 months ago

+1 on this. Would be useful for us, as well.

joshuarli commented 4 months ago

@brianthi any relevant updates?

brianthi commented 4 months ago

No updates as far as I'm aware. Though I'm no longer managing the team that would make these updates any longer. I believe @mrduncan and @rachrwang would be the right folks to provide an update if there was work being done towards this initiative

mrduncan commented 4 months ago

No plans from the issues team but tagging @leedongwei as well here.