How does an email delivery platform send 500M+ emails/day while maintaining 99%+ deliverability through IP reputation management, authentication (DKIM/SPF/DMARC), intelligent bounce handling, and per-domain throttling?
Core challenge: Email deliverability depends on IP reputation · one bad actor can poison an entire IP pool. Must balance throughput with per-ISP rate limits (Gmail accepts ~500/hr from new IPs), handle bounces instantly, and authenticate every message.
500M+
emails delivered / day
99%+
deliverability rate
IP warm-up
gradual ramp over weeks
<2%
bounce rate threshold
Architecture
IP reputation management: Dedicated IP pools per customer segment. New IPs warm up gradually (100?200?400/day). Reputation score tracks bounces, spam complaints, and engagement. Bad senders isolated to prevent pool contamination.
Per-domain throttling: Each ISP has different rate limits. Gmail ~500/hr for new IPs, Outlook ~1000/hr. The scheduler maintains per-domain queues with adaptive rate limiting · backs off on 4xx responses, pauses on 5xx.
Anti-patterns:Blast all at once · ISPs throttle/block. Shared IPs without isolation · one spammer ruins everyone. Ignoring bounces · reputation tanks within hours. No DKIM/SPF · straight to spam folder.
Bounce handling: Hard bounces (invalid address) ? immediately suppress. Soft bounces (mailbox full) ? retry 3x over 72hrs. Complaint feedback loops (FBL) ? auto-unsubscribe. Keep bounce rate <2% or risk IP blacklisting.
Scale Estimation
Step
Derivation
Result
Design Impact
1
Emails/sec: 500M · 86400
~5,800 emails/sec avg
Moderate throughput · throttling per domain is the constraint
2
Peak: 5,800 · 5· (marketing blast)
~29K emails/sec peak
Queue absorbs bursts, MTA pool drains at ISP-allowed rate
3
IP pool: 29K/sec · ~100 emails/sec/IP
~300 sending IPs
Warm IPs get more traffic, cold IPs ramp slowly
4
Bounce processing: 2% of 500M
~10M bounces/day
Real-time suppression list update (Redis set)
5
Suppression list: 10M/day · 365 days accumulated
~1B suppressed addresses
Bloom filter for fast "should I send?" check
Resilience & Edge Cases
Failure
Impact
Recovery
IP blacklisted
All emails from that IP go to spam
Rotate to warm backup IP. Investigate cause (bad sender). Apply for delisting. Isolate offending customer.
ISP rate-limits (4xx)
Emails queued, delivery delayed
Exponential backoff per domain. Spread load across more IPs. Respect Retry-After header.
DKIM key compromised
Attacker can forge emails from your domain
Rotate DKIM keys immediately. Publish new key in DNS. Old signatures invalid within TTL.
Priority queues (transactional > marketing). Auto-scale MTA workers. Alert on queue depth > 1M.
Interview Cheat Sheet
1.DKIM/SPF/DMARC · cryptographic signing + IP authorization + policy alignment for inbox placement 2.IP warm-up · gradual volume increase over 4-6 weeks to build reputation with ISPs 3.Per-domain throttling · respect ISP rate limits (Gmail ? Outlook ? Yahoo) 4.Bounce classification · hard (suppress immediately) vs soft (retry with backoff) 5.IP pool isolation · separate bad senders to protect shared reputation 6.Feedback loops · process spam complaints in real-time, auto-suppress complainers