I Built an Email API — Here's What I Learned About DKIM, SPF, and DMARC
dev.to·8h·
Discuss: DEV
🌐Network Protocols
Preview
Report Post

When I started building SendPigeon, I assumed email would be the easy part.

SMTP has been around forever, AWS SES is reliable, and sending an email looks like a solved problem. I expected the hard parts to be scaling, APIs, and dashboards.

Instead, almost all of the real complexity showed up in one place: email authentication.

Modern email delivery isn’t really about SMTP anymore. It’s about DNS, cryptographic signatures, and trust policies enforced by inbox providers. If any of that is wrong, emails don’t just land in spam — they often disappear entirely.

This is a technical deep dive into what I learned building an email API on top of AWS SES, specifically around SPF, DKIM, and DMARC.


Email is a trust system

SMTP was designed in a much friendlier era of the inte…

Similar Posts

Loading similar posts...