New guide: how to warm up a dedicated IP without hurting your reputation. Read now →
Log in
MigoSMTP
TroubleshootingUpdated 26 Oct 2026

Disaster Recovery for Email Sending: Failover, Provider Outages and a Tested Continuity Plan

How to keep important email flowing when something fails: mapping critical flows, failure modes, multi-provider failover, DNS and authentication readiness, queue durability, runbooks, communication and regular drills.

IR
Written by Ishita Rao
Email Authentication Engineer
Reviewed by Omar Haddad
  • Published20 May 2025
  • Read time6 min
  • Length1,185 words
Share this guide

Nobody notices email infrastructure until it stops. A provider outage, an expired certificate, a DNS mistake or a blocklisting can prevent password resets, order confirmations and security alerts from reaching customers, and the damage grows with every minute: support tickets, abandoned purchases, lost trust. Most teams have a plan for the database and none for the mail path. A continuity plan does not need to be elaborate. It needs to identify which flows are critical, understand how they can fail, prepare a second route that actually works, keep messages from being lost while the first route recovers, and give people a runbook and the practice to use it. This guide takes you through that process for transactional and operational email. Marketing campaigns can usually wait; resets and receipts cannot. See also reliable sending queues and the incident runbook.

Start withWhich messages must arrive, how fast, and what happens if they do not
Second routeA tested alternative provider or path, authenticated and warmed, not an emergency signup
No lossDurable queues and idempotent sends so outages delay mail but do not lose or duplicate it
PracticeDrills at least twice a year, with a runbook that a tired person can follow

Step 1: Map critical flows

FlowImpact if delayedAcceptable delayFallback if email fails
Password reset and sign-in codesUsers locked outSeconds to minutesSMS or another channel, with care. See reset and OTP email
Account verificationNew users cannot startMinutesResend option, in-app prompt
Order confirmations and receiptsSupport load, doubtMinutes to hoursShow confirmation on screen and in account
Security alertsDelayed fraud responseMinutesPush notification or SMS
Invoices and billing noticesPayment delayHours to a day. See invoice emailsPortal availability
Support repliesCustomer frustrationHoursTicket portal
Newsletters and campaignsRevenue delayDaysReschedule

Agree the priorities with the business. When capacity is limited, send the critical flows first and pause the rest.

Step 2: Understand how it can fail

FailureExamplesDetectionTypical recovery
Provider outage or degradationAPI errors, slow acceptance, regional failureError rates, latency, status pageFail over to the second provider; queue and retry
Account suspension or limit hitAbuse flag, quota exhausted403 or limit errorsContact provider; shift traffic; fix cause
Credential or key problemExpired or revoked key, wrong environment401 errors. See API error handlingRotate and redeploy keys. See rotating keys
DNS failureZone mistake, expired domain, provider outage, DNSSEC breakAuthentication failures, bounces. See DNSSEC and CAARestore records; keep a zone export
Certificate expiryMail server or tracking domainTLS errors. See SMTP certificatesRenew and reload
Blocklisting or reputation dropIP or domain listedBounce messages, deferral spikesMove critical mail to another pool; fix and delist. See reputation recovery
Application bugWrong template, loop sending duplicatesAlerts on volume and contentStop, roll back. See template versioning
Network or cloud region failureEgress blocked, port 25 issuesConnection errorsFail over region; check network rules
Webhook or event pipeline failureEvents lostSilence alarmReconcile. See webhooks vs polling

Step 3: Prepare a second route

  • Choose the alternative in advance: a second provider, a second region with the same provider, or your own relay for emergencies.
  • Set it up fully now. Domain verification, SPF, DKIM, DMARC alignment, return-path and tracking domains, reverse DNS where relevant. See authenticate your domain and multiple vendors, one domain.
  • Warm it with real traffic. Send a small, steady share of live transactional mail (even 5 to 10 per cent) through the second route so that it has reputation when needed. An untouched account with no history will be throttled exactly when you depend on it. See warm-up.
  • Abstract the provider in code. A thin interface with the same message model, templates and tags for both providers, so that switching is a configuration change.
  • Align identities. The same From domains, so that recipients and filters see continuity. DKIM selectors for both providers. Avoid SPF conflicts and the lookup limit. See SPF lookup limit.
  • Keep credentials ready in a secrets manager, tested monthly.
  • Understand cost and limits of the second route, and ask its provider about emergency capacity.

Step 4: Make the queue durable

Failover works only if messages survive the outage. Put every outbound message in a durable queue (database or message broker) before attempting to send, and mark it sent only after acceptance. Give each message an idempotency key so that retries and failover cannot produce duplicates. Use retries with backoff and a limit, and a dead-letter store for messages that need human attention. Keep an expiry for time-sensitive messages: a sign-in code that arrives after an hour is worse than none. Maintain priorities so that critical mail overtakes bulk when the system recovers. See idempotency patterns and rate limits and backoff.

Step 5: Decide how failover happens

ApproachHowProsCons
Manual switchAn on-call engineer flips a flagSimple; avoids false alarmsSlower; depends on a person
Automatic on error thresholdCircuit breaker routes to the backup when failures exceed a limitFastRisk of flapping; needs good thresholds and cooldown
Weighted split always onTraffic shared continuously between providersBackup always warmMore complexity; two sets of logs
Per-flow routingCritical flows have a different path than bulkProtects the most important mailConfiguration to maintain

Whatever you choose, define the trigger (for example, more than 20 per cent errors for five minutes), the action, who is notified and how to return to normal. Include a cooldown to avoid switching back and forth.

Step 6: Write the runbook

  1. Detect and declare: alerts, status page checks, who declares an incident, and the channel for coordination.
  2. Assess: which flows are affected, how many messages are queued, what the provider says.
  3. Contain: pause bulk and non-critical sends; stop any runaway loop.
  4. Switch: exact steps, commands and flags to move critical mail to the second route; how to verify with a test send.
  5. Communicate: templates for internal updates, a status page note and customer support macros. Offer alternatives such as on-screen confirmation.
  6. Recover: when the primary is back, drain the queue in priority order, at a rate that does not trigger throttling, and watch bounces.
  7. Review: a blameless post-incident review within a week, with actions and owners.

Keep the runbook where people can reach it during an outage, which means not only in a system that depends on email. Include contact details and escalation paths for each provider. See abuse mailboxes for reports that may arrive during an incident.

Step 7: Test regularly

  • Failover drills at least twice a year: route a share of live transactional mail through the second provider on purpose and confirm delivery, headers and authentication.
  • Game days: simulate a provider outage in staging by blocking egress or injecting errors; observe the queue, retries and alerts. See load testing.
  • Credential checks: monthly send from each route and key.
  • DNS recovery test: restore records from your export into a test zone.
  • Time the recovery and record the results against your goals.

Monitoring that catches trouble early

Alert on error rate, acceptance latency, queue age, bounce and deferral spikes, authentication failures and the silence of webhook events. Probe the system from outside with a synthetic message every few minutes to a monitored mailbox, and measure the end-to-end time. Subscribe to your providers' status feeds. See delivery monitoring.

A continuity plan for email is mostly preparation done while things are calm: a second warmed route, a durable queue and a runbook that has been practised. When the outage comes, the work becomes a checklist instead of an improvisation.

Add a resilient route Talk to us about a warmed, authenticated second path for critical mail.

Explore the SMTP relay

References and further reading

Frequently asked questions

Do I need a second email provider?

For critical flows such as resets and receipts, a warmed, tested second route is the most reliable protection against a provider outage.

Why warm the backup provider?

An unused account has no reputation and may be throttled when you need it. A small steady share of live traffic keeps it ready.

How do I avoid duplicates during failover?

Use durable queues and idempotency keys so retries and re-routing cannot send the same message twice.

Should failover be automatic?

It can be, with sensible thresholds and cooldowns. Many teams start with a manual switch and automate once they trust the signals.

How often should I test the plan?

At least twice a year with a drill, plus monthly credential checks.

Topics#disaster recovery#failover#outage#runbook#continuity
Was this guide helpful?Your answer helps us improve our documentation.

Start sending in minutes.

Create an account, add your domain and send your first email.

Get started Talk to sales