Open pdpinch opened 6 years ago
@pdpinch It looks look mailgun does not provide bounce feedback during the request/response exchange that happens when we send an email. Instead, it provides bounce feedback either through a 'bounce' endpoint (pull), or through webhooks (push) .
I can think of a few options for tracking bounces.
Pros:
Cons:
Pros:
Cons:
Pros:
Cons:
Given that we need human polling in any case, I lean towards #2.
@pdpinch, whaddya think?
Similar to https://github.com/mitodl/micromasters/issues/3549
If a notification email to a collection owner or admin list bounces, Mailmain will add it to its bounce list and never send to that address again.
I think we want to raise an exception to Sentry when this happens so we can investigate the issue. Does the list need to be updated or removed? What is a temporary issue, and we need to remove the list form Mailgun's bounce list?