AgentsMailv2
ProductAPIDeliverabilityPricingChangelog
docsSign inGet an API key
AgentsMailPrivacyLegal
AgentsMail
ProductDocsBlogPricing
Get started

Newsletter

Stay updated with our latest articles and web development news.

No spam, unsubscribe anytime

Blog/Deliverability/Good email deliverability: DNS, SPF, DKIM, DMARC

Good email deliverability: DNS, SPF, DKIM, DMARC

Sending an email is easy. Getting it into the inbox is not. A tour of the DNS records that decide whether your campaigns land — or fall into spam.

MC
Mike Codeur

Aug 9, 2026 · 3 min

Good email deliverability: DNS, SPF, DKIM, DMARC

Good email deliverability

A sent email is not a received email. In between, mailbox providers — Gmail, Outlook, Yahoo — decide, in a few milliseconds, whether your message deserves the inbox, the spam folder, or outright rejection. That decision rests largely on three DNS records. Setting them up correctly isn't optional: since 2024, Gmail and Yahoo require them for any bulk sending.
Votre navigateur ne prend pas en charge la lecture de vidéos.

SPF — who is allowed to send for your domain

SPF (Sender Policy Framework) is a TXT record listing the servers authorized to send email on behalf of your domain.
v=spf1 include:amazonses.com ~all
When a server receives a message claiming to come from you@yourdomain.com, it checks that the sending server is in this list. Otherwise, the message is suspect. The trailing ~all means "everything else is questionable, but don't hard-fail." During warm-up, that's the right setting.

DKIM — the signature that proves integrity

DKIM (DomainKeys Identified Mail) adds a cryptographic signature to every message. The receiving provider fetches your public key via DNS and verifies the message wasn't altered in transit. It's the difference between "this message claims to be from you" and "this message is mathematically proven to be from you." Without valid DKIM, no sender reputation gets built.

DMARC — the policy that ties it together

DMARC (Domain-based Message Authentication) tells providers what to do when SPF or DKIM fail, and where to send you the reports.
v=DMARC1; p=quarantine; rua=mailto:dmarc@yourdomain.com
The p=quarantine policy asks providers to spam-folder unauthenticated messages. You rarely start with p=reject (hard rejection): better to watch the reports for a few weeks before tightening.

Beyond DNS: reputation

The three records are a necessary condition, not a sufficient one. A fresh domain has no reputation, and providers distrust a sender jumping from zero to 20,000 sends overnight. Two survival rules:
  • Warm up gradually. Start with a few hundred emails to your most engaged contacts, then double every two or three days. Reputation is built on opens, not raw volume.
  • Watch bounces and complaints. Past 5% bounces or a high complaint rate, providers penalize you. A clean list — no dead addresses, no unsubscribes — beats a large dirty one.

What AgentsMail handles for you

DNS configuration stays your responsibility — it's your domain. But DKIM signing, bounce handling, and the suppression list fed automatically by bounces and complaints are handled on the platform side. An email that bounced once is never sent again. That's the kind of detail that protects your reputation without you having to think about it.
deliverabilitydnsdmarcspfdkim
MC

Written by

Mike Codeur

Read next

All articles
Comparisons8 min

Mailchimp vs Brevo vs AgentsMail: Which One to Choose?

Mailchimp vs Brevo vs AgentsMail, by profile: prices checked on each official site, free plans, automation and AI agent support, so you pick the right tool.

Nov 16, 2026
AI agents9 min

How to Send an Email Campaign from Claude (Step by Step)

Run a Claude email campaign end to end: connect Claude to AgentsMail, draft and render the template, test, approve the send, read the stats. Prompts included.

Nov 9, 2026
Use cases10 min

Email Marketing for SaaS: Onboarding to Win-Back

Email marketing for SaaS, stage by stage: onboarding emails, trial conversion, product updates and win-back, run by your AI agent and triggered by your app.

Nov 2, 2026