The developer's guide to email deliverability
Why perfectly valid emails still land in spam, and the eight things that actually move inbox placement — from authentication to list hygiene.
Sending an email is easy. Getting it into the inbox is the hard part. An API can return 200 OK while Gmail quietly files your password reset under Promotions — or worse, Spam. This guide covers what inbox providers actually look at, in the order it matters.
1. Authenticate every domain you send from
Mailbox providers will not trust mail they cannot attribute to you. Three DNS records do the attributing:
- SPF lists the servers allowed to send for your domain's return path.
- DKIM adds a cryptographic signature that proves the message was not altered and was sent by the domain owner.
- DMARC tells receivers what to do when SPF or DKIM fail, and asks them to send you reports.
Since February 2024, Gmail and Yahoo require SPF, DKIM and a DMARC record for anyone sending more than 5,000 messages a day to their users — and they reject unauthenticated mail far more aggressively for everyone else. Stack Emails generates all three records when you add a domain; see the SPF, DKIM and DMARC setup guide for a walkthrough.
2. Align your From domain
Authentication only counts for DMARC when it aligns with the domain in the visible From: header. If you send as hello@acme.com, the DKIM signature should be for acme.com and the return path should be a subdomain like send.acme.com. Stack Emails sets up both by default.
3. Keep bounce rates under 2%
A hard bounce means the address does not exist. A few are normal; many signal that you are mailing a purchased or stale list. Amazon SES, which powers Stack Emails, reviews accounts whose bounce rate rises above 5% and may pause sending above 10%.
What helps:
- Validate addresses at signup (and consider double opt-in for marketing lists).
- Never retry a hard bounce. Stack Emails adds hard-bounced addresses to your suppression list automatically.
- Remove contacts that have not engaged in 6–12 months.
4. Keep complaint rates under 0.1%
A complaint is a recipient pressing Report spam. Gmail's published threshold is a spam rate below 0.3%, and it recommends staying under 0.1%. Complaints are the single strongest negative signal there is.
The fastest way to reduce complaints is to make unsubscribing easier than reporting spam. That means a visible unsubscribe link and the List-Unsubscribe / List-Unsubscribe-Post headers that enable one-click unsubscribe in Gmail and Apple Mail. Stack Emails adds both to every broadcast.
5. Separate transactional and marketing traffic
Receipts and login codes should never share a reputation with your newsletter. Use a different subdomain — for example mail.acme.com for product email and news.acme.com for campaigns — so a bad campaign cannot delay a password reset. Read more in transactional vs marketing email.
6. Warm up new domains
A brand-new domain has no reputation. Start with your most engaged recipients and grow volume over two to four weeks rather than sending 100,000 messages on day one.
7. Write like a person
Content filters matter less than they used to, but these still help:
- Always include a plain-text part alongside HTML.
- Avoid link shorteners and mismatched link text.
- Keep image-to-text ratio reasonable; never send a single-image email.
- Use a real reply-to address.
8. Monitor, don't guess
Watch delivery, bounce and complaint rates per domain, and register your domain with Google Postmaster Tools. The Stack Emails dashboard shows bounce and complaint rates against these thresholds on the Metrics page.
Checklist
| Item | Target |
|---|---|
| SPF, DKIM, DMARC | All passing and aligned |
| Hard bounce rate | Under 2% |
| Spam complaint rate | Under 0.1% |
| One-click unsubscribe | On all marketing email |
| Separate subdomains | Transactional vs marketing |
Deliverability is not a setting you switch on — it is the sum of many small habits. Get the foundations right and the inbox follows.
Enjoyed this article?
See more from Stack Emails in Google Search.