---
name: email-deliverability-audit
description: "Audits whether a company's email reaches the inbox and why not: SPF, DKIM and DMARC records and their alignment with the From domain, the bulk-sender rules of Gmail, Yahoo and Outlook (authentication, one-click unsubscribe, spam rate under 0.3%), blocklists, list hygiene, sending patterns and content, with every check marked pass, fail or unknown and its evidence, then a ranked fix plan and the exact DNS records to hand to whoever controls DNS. Use when someone asks why emails go to spam, to check SPF, DKIM or DMARC, to audit email deliverability, whether they meet Gmail and Yahoo sender requirements, why open or click rates dropped suddenly, or before moving to a new email platform or domain."
license: MIT
compatibility: "Any AI agent. With a shell it looks up DNS records itself (dig or nslookup); otherwise the user pastes the records. Best with the headers of a real marketing email and the platform's bounce and complaint numbers."
metadata:
  title: "Email deliverability audit"
  category: "Email and lifecycle"
  requires: "none"
  data-needed: "None"
  slate-tools: "web_research, create_artifact (Slate MCP); Web research and Artifacts in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/email-deliverability-audit"
  author: "Slate"
  version: "1.0.0"
---

# Email deliverability audit

Finds out whether email reaches the inbox and, when it doesn't, which of the usual causes is to blame: authentication, reputation, list quality, sending patterns or content, in that order. Every check carries a status and the evidence behind it (looked up live, read from a real email's headers, reported by the user, or unknown), so nothing is marked green on a guess. The result is a ranked fix list with owners and the exact DNS records to send to whoever controls DNS. Generic prompts rewrite subject lines to dodge "spam words" while a missing DMARC record or a 6% bounce rate does the damage.

## When to use

- "Why are our emails going to spam", "check our SPF, DKIM and DMARC", "are we compliant with Gmail and Yahoo sender rules", "open and click rates dropped off a cliff", "audit our email setup", "we're moving to a new email platform or domain".
- Marketing, product and transactional email from your own domain, B2B or B2C.
- Not for cold outbound infrastructure (separate domains, mailbox warm-up for prospecting): use `cold-email-sequence`, and keep cold email off the marketing domain.
- Not for the performance of campaigns once mail is delivered: `email-performance-report`.

## What you need

Required:
- **The sending domain(s)**: the domain in the From address of marketing email, plus transactional and any other tools that send as you (CRM, support desk, billing, product).
- **The email platform(s)** that send each stream.

Ask for, or assume and state:
- **The headers of a real marketing email** received at a Gmail address ("Show original" in Gmail). This is the best single piece of evidence: it shows whether SPF, DKIM and DMARC actually pass for the mail you send, and whether the unsubscribe headers are present.
- **Numbers for the last 30–90 days**: sends per day, hard bounce rate, spam complaint rate, unsubscribe rate, click rate, by provider if available.
- **Google Postmaster Tools** spam-rate chart and compliance status, if the domain is verified there.
- **List sources**: how addresses are collected, single or double opt-in, any bought, rented or scraped lists, when the oldest segment was last mailed.
- **Recent changes**: new platform, new domain, volume jump, DNS edits, a big import.
- **Who controls DNS**. Default: the agent drafts records; it never changes DNS itself.

## Data and tools

- **In Slate:** Web research reads the signup forms (to check what people agreed to) and the email platform's authentication setup guide. Artifacts holds the audit and the records to hand over. Slate doesn't look up DNS records, check blocklists or read mailbox-provider data.
- **With the Slate MCP server:** `web_research` with `action: "scrape"` for signup pages and the platform's setup documentation; `create_artifact` for the audit report.
- **Without Slate:** the agent's shell for DNS lookups (`dig`, `nslookup`) or a public DNS lookup tool; Google Postmaster Tools and Microsoft SNDS (for dedicated IPs) for reputation data; the platform's bounce and complaint reports; a test email's headers.

DNS commands and how to read the results: `references/dns-checks.md`.

## Procedure

1. **List every stream that sends as the domain**: marketing, transactional, CRM, support, billing, product notifications. Note the platform and the From and Return-Path domains for each. Unknown senders show up later in DMARC reports.
2. **Check authentication for each stream.**
   - **SPF**: exactly one SPF record on the domain that sends (often the Return-Path domain, not the From domain); it includes every platform that sends; no more than 10 DNS lookups including nested includes; ends in `~all` or `-all`, never `+all`.
   - **DKIM**: a key published at `<selector>._domainkey.<domain>` for each platform, 2048-bit where the platform allows; the `d=` domain in the email's DKIM signature is your domain, not the platform's shared domain.
   - **DMARC**: exactly one record at `_dmarc.<domain>`, `p=none` at minimum, with a `rua` address that someone reads. Plan the path to `quarantine` and then `reject` once reports show every legitimate sender passing.
   - **Alignment**: DMARC passes only if SPF or DKIM passes **for a domain matching the From domain**. Many platforms use their own Return-Path, so SPF can pass without aligning; aligned DKIM is then what makes DMARC pass. Confirm with the test email's headers.
   Look records up live when you have a shell; otherwise ask for them. Mark each item verified (looked up or in headers), reported (from the user), or unknown. A record that exists but hasn't been seen passing on real mail is "present, not verified".
3. **Check the mailbox-provider rules.** For anyone sending around 5,000 or more messages a day to Gmail or Yahoo addresses (treat a list that size as bulk unless shown otherwise), and Outlook.com for high volume:
   - SPF and DKIM both pass, and DMARC is published and passes with alignment.
   - Marketing email carries one-click unsubscribe headers (`List-Unsubscribe` with an HTTPS link plus `List-Unsubscribe-Post: List-Unsubscribe=One-Click`), and a visible unsubscribe link in the body; unsubscribes are honoured within 2 days.
   - Spam complaint rate, as Postmaster Tools shows it, stays below 0.1% and never reaches 0.3%.
   - Sending servers have matching forward and reverse DNS and use TLS (the platform handles this on shared servers; check it on dedicated IPs).
   - No impersonation: no fake "Re:" or "Fwd:" subjects, no From names that pretend to be someone else.
   Below the bulk line these are still the standard to meet.
4. **Check blocklists** for the sending domain and any dedicated IPs on the operators' own lookup pages; the user may need to run these in a browser. Spamhaus, for example, refuses queries sent through public DNS resolvers, so a `dig` against it from a laptop gives misleading answers. A listing on a major list ranks first in the fix plan.
5. **Check list hygiene.**
   - Hard bounces removed after the first bounce; soft bounces after several in a row.
   - Complainers and unsubscribers suppressed in every tool that sends, not just one.
   - Hard bounce rate per send under 2%; above 5% means a list-source problem.
   - Engagement-based sunset: people with no clicks in 6–12 months get a re-permission email, then leave marketing sends. Opens don't count as engagement because privacy features fire them automatically.
   - No bought, rented or scraped lists; double opt-in for risky sources (giveaways, partner co-registration, events with paper forms).
   - Old segments (not mailed in 12+ months) are mailed most-recent-first, in small batches, never in one blast.
6. **Check sending patterns.** Volume jumps (more than doubling from one send to the next), sudden sends to old segments, marketing and transactional sharing one domain or subdomain, a new domain or IP sending at full volume without a ramp.
7. **Check content last.** Links to domains with a bad reputation or to URL shorteners; link text that shows one domain and goes to another; image-only emails; no plain-text part; a shared click-tracking domain instead of a branded one; misleading subjects. Content is rarely the root cause when steps 2–6 are clean.
8. **Rank the fixes.** Order: blocklist listings and authentication failures, then complaint and bounce problems (list sources, sunset), then sending patterns, then content. For each: the evidence, the fix, the owner (DNS owner, email platform admin, marketing), the effort, and how you'll know it worked.
9. **Draft the DNS changes** as exact records for the DNS owner, with the host written both ways registrars expect (`_dmarc` and `_dmarc.example.com`). Replace, never add, a second SPF or DMARC record. Never weaken DMARC to make a tool's check pass. After any change, look the records up again and send a fresh test email.
10. **Set monitoring**: Postmaster Tools spam rate weekly, bounce and complaint rates per send, DMARC aggregate reports monthly (new unknown senders, failures), and a placement check (a few test inboxes across Gmail, Outlook, Yahoo and Apple) before big sends.

## Output

```markdown
## Deliverability audit: <domain>, <date>
Verdict: healthy / at risk / damaged | Streams audited: <list>

### Checks
| Area | Check | Status (pass / fail / warn / unknown) | Evidence (verified / reported / unknown) | Fix | Owner |

### Fix plan (ranked)
| # | Problem | Evidence | Fix | Owner | Effort | Done when |

### DNS records to hand over
| Type | Host | Value | Replaces |

### Monitoring
```

## Quality checks

- No check is marked pass without evidence: a live lookup, a real email's headers, or a number from the user, labelled as such.
- SPF lookup count includes nested includes.
- Alignment was judged from a real marketing email's headers, or marked unknown.
- One-click unsubscribe was checked in the headers, not assumed from the footer link.
- Drafted DNS records are complete, replace rather than duplicate, and never weaken an existing DMARC policy.
- Thresholds quoted (0.1% and 0.3% complaints, 2% bounces) are applied to the user's own numbers with their dates.
- Opens are not used as the measure of engagement or inbox placement.

## Common mistakes

- **Fixing content first.** Spam-word lists rarely matter next to authentication, complaints and bounces.
- **Two SPF records.** Adding a new one instead of merging breaks SPF for every sender.
- **Trusting "SPF pass" in the platform dashboard.** Without alignment to the From domain, DMARC can still fail.
- **Setting DMARC to reject before reading reports.** Legitimate tools (billing, support desk) get blocked.
- **Calling a 0% complaint rate good when Gmail mail goes to spam.** Mail in the spam folder can't be marked as spam; check placement too.
- **Blasting an old list to "wake it up".** Bounces and spam traps sink the whole domain.
- **Mixing cold outreach with marketing on one domain.** Outreach complaints then hit customer email.

## Related skills

- `email-performance-report`: campaign and pipeline results once mail is delivered.
- `win-back-campaign`: the re-permission and sunset emails the hygiene step calls for.
- `lifecycle-map`: an inventory of every flow, useful for finding every sender.
- `cold-email-sequence`: outbound on its own infrastructure, away from the marketing domain.
- `email-sequence`: new sequences, once the basics pass.
