Notify webhook while a temporary failure occures
As we know, at this time Mailgun webhook will only notify in the case of the Event permanently dropping, it will not notify on temporary failures.
Now the situation is we collect the log data from webhook and use these metrics data to generate dashboard in our own system. but we find the metrics data is different from what we use mailgun Events api to check out. because we can't get some temporary failures through webhook. so we want Mailgun can notify webhook while a temporary failure occures?
Ticket number: #150129
Thanks for your support on this suggestion! This is now available through our Webhooks 2.0 API: https://documentation.mailgun.com/en/latest/api-webhooks.html. You can create a webhook specifically for temporary_fail through either the API or the Mailgun Dashboard.
The Webhooks 2.0 API also closely follows our Events API, which is much less confusing.
Garry Beirne commented
This is a MISSION CRITICAL feature for us. Consider the following (real) scenario:
- are on a shared IP
- IP reputation is good, all email is going through
- something happens and IP reputation slips
- some EMS start throttling email
- throttled email will (likely) be retried 8 times over a 24 hour period
- at time of first temporary failure, if we are alerted we can take immediate action so that all email gets delivered
The system today cannot ALERT us when messages have temporarily failed. This means we have to actively visit the log page at least every hour to manually monitory temporary failures.
This might be acceptable for mass marketing emails, but it is wholly unacceptable for user-transaction emails.
Please make this a priority.
Richard Minchuk commented
My company would definitely like this feature!
Vishal Nath commented
It will be nice to have this API event as we need something similar in our system for monitoring.
Rajesh Kalaria commented
I would love to have webhooks for temporary failures as well. I came across similar need and found that that feature is not there. Please add this capability.
The emails we send are time sensitive (eg need to be delivered ASAP, even a 10 minute delay can cause issues). Therefore the times that an email is throttled by the recipient, it would be awesome to be able to get notified that the email was throttled and will be retried in X minutes so we can take alternate action in getting the information to the recipient.