Everything that decides whether your email lands.
Seven subsystems read the records and reputation signals inboxes use to judge your domains, on a schedule, for every domain you send from, and turn them into one 0–100 score per domain. Here is each one as it is built.
01 · RFC 7208 · 6376 · 8463 · 9989–9991 · 8461
RFC engine & DNS drift
A pure, deterministic validator for every authentication record, plus a canonical snapshot of each domain’s DNS that is diffed on every reading. When a provider edits its own SPF include, the change is caught even though your record never changed.
- SPF
- Recursive count of include, a, mx, ptr, exists and redirect against the 10-lookup and 2-void-lookup limits; PERMERROR above either.
- DKIM
- RSA key size, Ed25519 (RFC 8463), t=y testing flag; empty p= read as explicit revocation, not a syntax error.
- DMARC
- DMARCbis DNS tree walk (at most 8 queries), np=, psd= and t=; RFC 7489 fallback; pct/rf/ri flagged as deprecated.
- Transport
- MTA-STS policy and MX pattern match, TLS-RPT and BIMI records add a bonus inside the DNS category.
- Drift
- Canonicalized snapshot per reading; changed fields and transitive SPF drift recorded with the exact timestamp.
{
"checkedAt": "2026-11-28T06:04:11Z",
"changedFields": [
"spfRecord",
"spfLookupCount"
],
"transitiveSpfDrift": true,
"spf": {
"lookups": 11,
"voidLookups": 0,
"status": "PERMERROR"
},
"score": {
"before": 94,
"after": 58
}
}Example Fictional .example data, real field names.
02 · RFC 9990 · RFC 7489 §7
DMARC RUA/RUF pipeline
Every domain gets its own reporting address. Aggregate reports arrive at a Cloudflare Email Worker that streams the raw message to object storage and queues a pointer; the data-plane worker decompresses, parses and attributes each source.
- Edge intake
- Raw MIME up to 25 MiB streamed to R2, never buffered in Worker memory; only a pointer is queued.
- Parsing
- gzip and zip attachments decompressed under a 64 MiB budget; XML parsed into per-IP records with SPF and DKIM alignment.
- Attribution
- Sources named by known provider, then ASN organisation, then reverse DNS, so “who sends as you” reads in plain words.
- Forensic (opt-in)
- Bodies and attachments dropped, local-parts masked, URLs defanged, per-event deletion after 14 or 30 days.
- Retention
- 30 days on trial, 90 on Starter, 180 on Agency, 365 on Scale.
_dmarc.contoso-leads.example. TXT "v=DMARC1; p=quarantine;
rua=mailto:[email protected],mailto:[email protected]"Example Fictional .example data, real field names.
03 · RFC 5782 · RFC 3207 · RFC 7672
DNSBL scanning & SMTP probing
Blacklist queries go through Mailsonde’s own Unbound resolver on the data plane, never a public resolver that the lists block. Each zone must pass a canary before any answer counts, and error codes are never shown as listings.
- Canary
- 2.0.0.127.<zone> must answer as listed and 1.0.0.127.<zone> must not, before a zone’s answers are trusted.
- Honest codes
- Spamhaus 127.255.255.x and URIBL 127.0.0.1 are query errors, never listings; SORBS (shut down June 2024) is never queried.
- Zones
- Spamhaus ZEN and DBL via DQS and Abusix when licensed, plus Barracuda, SpamCop and UCEPROTECT Level 1.
- Scoring
- A Spamhaus or Abusix listing subtracts 60 and caps the domain at 45; Barracuda or SpamCop subtracts 30.
- SMTP probe
- Port 25 from the data plane to each MX: banner, STARTTLS, certificate verification, 14-day expiry warning, DANE TLSA presence.
{
"mxHost": "mx1.contoso-leads.example",
"reachable": true,
"supportsStartTls": true,
"tlsVerified": true,
"tlsProtocol": "TLSv1.3",
"certValidTo": "2026-12-09T23:59:59Z",
"certExpiringWithin14Days": true,
"daneTlsaPresent": false
}Example Fictional .example data, real field names.
04 · Gmail sender requirements
Google Postmaster Tools v2
Connect a Google account once and every verified domain gets Gmail’s daily user-reported spam rate and compliance status. Missing data stays missing: below Google’s volume threshold the row reads “Low vol” and leaves the score.
- API
- Postmaster Tools API v2 only: domainStats batchQuery and getComplianceStatus. v1 and v1beta1 are not called.
- Scopes
- Read-only Postmaster scopes; one Google account on Starter, several on Agency and Scale.
- Thresholds
- Under 0.10% healthy, 0.10–0.30% watch, 0.30% or NEEDS_WORK zeroes the row and caps the score at 49.
- Low volume
- Stored as null with data_state no_data_low_volume; shown as “Low vol”, never 0.00%.
[
{
"metricDate": "2026-11-29",
"dataState": "reported",
"userReportedSpamRate": 0.0019,
"dmarcSuccessRate": 0.996
},
{
"metricDate": "2026-11-29",
"domain": "get-northwind.example",
"dataState": "no_data_low_volume",
"userReportedSpamRate": null
}
]Example Fictional .example data, real field names.
05 · Slack Block Kit · Telegram MarkdownV2
Incident state machine & alerts
A critical reading does not page anyone until it is confirmed. Incidents move through a small, tested state machine and close themselves when the domain recovers.
- States
- pending (re-checking) → firing → acknowledged → resolved.
- Confirmation
- Re-check after 90 seconds; only a second critical reading opens the incident.
- Noise control
- One notification, then repeats held for 6 hours unless severity escalates.
- Delivery
- Slack with Acknowledge, Mute 24h and Copy fix buttons; Telegram with MarkdownV2 escaping. Starter allows one channel; Agency and Scale are unlimited.
- Routing
- Channels can be scoped to one client folder on Agency and Scale.
*CRITICAL* spf\_permerror on `contoso-leads.example`
SPF needs 11 DNS lookups \(limit 10\)\. Score 94 → 58\.
New include: `servers.mcsv.net`Example Fictional .example data, real field names.
06 · Cloudflare for SaaS · Gotenberg
White-label portals & PDF reports
Each client folder can be shown to that client: a read-only portal of their domains and a monthly PDF in your agency’s name. Custom hostnames only ever serve the portal.
- Branding
- Brand name, logo, accent colour and an option to hide “powered by” on Agency and Scale.
- Custom domain
- Scale: CNAME a subdomain to customers.mailsonde.com; Cloudflare validates it and issues TLS. Apex domains are not supported.
- Isolation
- On a custom hostname the dashboard, API and internal routes return 404; only the client portal is served.
- Rendered on the worker by Gotenberg from the report page, per client and per month.
reports.northstar.example. CNAME customers.mailsonde.com.Example Fictional .example data, real field names.
07 · MCP spec 2026-07-28 · OAuth 2.1
Read-only MCP server
A stateless Streamable HTTP Model Context Protocol server so Claude, Cursor and other agents can ask “which Contoso domains are failing and why?” It reads your fleet; it cannot change it.
- Transport
- Stateless Streamable HTTP; no session state kept between calls.
- Auth
- Workspace token (SHA-256 hashed, revocable) or OAuth 2.1 access token bound to the Mailsonde resource audience.
- Tools
- Seven tools scoped domains:read, dnsbl:read, postmaster:read and dmarc:read; none write settings.
- Safety
- DNS and report strings sanitized in tool output; tool manifest pinned by hash; every call audited with latency.
- Quotas
- 200, 2,000 or 10,000 calls a day by plan.
{
"jsonrpc": "2.0",
"id": 7,
"method": "tools/call",
"params": {
"name": "list_client_domains",
"arguments": {
"client": "contoso",
"status": "critical"
}
}
}Example Fictional .example data, real field names.
Compared with what agencies use today
Most agencies start with a cron job running dig, a spreadsheet of domains, or a DMARC tool priced per domain. Each covers part of the job. “Varies” means it depends on the vendor; we do not speak for any specific product.
| Capability | Mailsonde | Cron script + dig | Spreadsheet | DMARC-report tool |
|---|---|---|---|---|
| SPF lookups counted through nested includes, with void limit | Yes | If you write it | No | Varies |
| DMARCbis (RFC 9989) tree walk and np=/psd= | Yes | If you write it | No | Varies |
| DNS change history with field-level diffs | Every reading | Only if you store output | Manual notes | Rarely |
| DNSBL checks with canary-verified resolver | Yes | Public resolvers get blocked | No | Usually not |
| Gmail spam rate via Postmaster v2 | Yes, low volume shown honestly | No | Copied by hand | Varies |
| Aggregate (RUA) report parsing | Yes | No | No | Yes |
| Alerting with confirm re-check | 90 s re-check, Slack/Telegram | Email on every blip | No | Digest emails |
| Client folders, portals and PDFs | Yes | No | One tab per client | Usually per domain |
| Read-only agent access (MCP) | 7 tools | No | No | Varies |
| Pricing model | Flat, 25–300 domains | Your time | Your time | Often per domain |
Put your first domain on the chart.
30-day trial, no card. The first reading lands in about a minute and shows the domain’s real SPF, DKIM and DMARC.