middle.network · Outside-in Use Case Brief DevOps & Platform Engineering · https://middle.network/use-cases/transactional-email-regression-guard/
DevOps & Platform Engineering Transactional Mail · SPF Overflow

Guard transactional email deliverability as code on every release

Validate MX routing, nested SPF lookup budgets, DKIM selector keys, DMARC alignment and Google/Yahoo bulk-sender rules automatically.

The problem

Adding a new email vendor (Resend, SendGrid, Postmark or HubSpot) pushes SPF over 10 DNS lookups or breaks DKIM alignment on transactional receipts.

Why internal tools miss it

Application send queues report HTTP 202 Accepted from the SMTP API while Gmail and Outlook quietly dump every receipt into spam.

How middle.network solves it

middle.network expands the full nested SPF include tree, validates DKIM key lengths and checks Google/Yahoo/Outlook bulk-sender rules in one weighted 0-100 score.

Hypothetical scenario Example target: kora.finance

Adding a customer support tool pushes SPF to 11/10 lookups and breaks OTP emails

Kora FinTech adds Zendesk to kora.finance alongside Microsoft 365, SendGrid and Salesforce. Within an hour, users report never receiving login codes.

Without outside-in verification

Backend logs show 100% 202 Accepted from the email API, so engineers spend hours debugging authentication code instead of DNS.

With middle.network
  1. Step 1
    Run Weighted Email Score

    Email Score immediately drops to 54 (D) and flags an RFC 7208 SPF permerror at 11 DNS lookups.

  2. Step 2
    Inspect Expanded SPF Tree

    The SPF Checker visualises every nested include, revealing an old decommissioned CRM still burning 4 lookups.

  3. Step 3
    Verify Bulk-Sender Compliance

    Removing the dead include drops SPF to 7/10; Bulk Sender Compliance confirms Gmail, Yahoo and Outlook requirements all pass.

Outside-in tool playbook

Run these exact live checks in order - free on the website with zero sign-up.

Full reports
1. Check weighted 0-100 score

Domain email score

What is the overall deliverability health and top blocker?

Try live
Email authentication
2. Expand nested SPF tree

SPF record checker

Which hidden sub-includes are consuming the 10-lookup budget?

Try live
Email authentication
3. Verify DKIM selectors & bits

DKIM checker

Are active DKIM public keys published and at least 1024/2048 bits?

Try live
Email delivery and reputation
4. Check Gmail/Yahoo rules

Bulk sender compliance check

Does the domain meet modern bulk-sender authentication mandates?

Try live

One run, two audiences: Plain English and Technical proof

Every check outputs executive-ready wording alongside raw technical verification so teams never waste time translating findings.

Plain English (Product & Support)Stakeholder-ready

Login and billing emails are failing security checks because the domain lists too many mail services in its SPF record (11 of 10 allowed). Removing one retired service fixes inbox delivery immediately.

Next step: Remove include:old-crm.example from the SPF TXT record and re-run Email Score.
Technical Detail (DNS Record Fix)Engineer view
spf: FAIL (11/10 DNS lookups -> RFC 7208 permerror)
culprit: include:old-crm.example consumes 4 nested lookups
fix: kora.finance TXT "v=spf1 include:spf.protection.outlook.com include:sendgrid.net include:mail.zendesk.com ~all"
Scale from ad-hoc check to automation

Turn email authentication into an automated CI invariant

Email Score, MX, SPF, DKIM, DMARC, MTA-STS, TLS-RPT and Bulk Sender Compliance are all passive REST API endpoints ready for free API keys, n8n and MCP today.

More DevOps & Platform use cases

Common questions

Validate MX routing, nested SPF lookup budgets, DKIM selector keys, DMARC alignment and Google/Yahoo bulk-sender rules automatically.

Score domain email posture live
Why does SPF fail at 11 DNS lookups even when the TXT string looks short?
RFC 7208 counts every nested include, a, mx, ptr, exists and redirect across the entire evaluation tree. One vendor include can secretly expand into four or five lookups.
Does middle.network test Google, Yahoo and Outlook sender mandates?
Yes. Bulk Sender Compliance checks SPF, DKIM, DMARC alignment, reverse DNS and TLS posture against modern inbox-provider requirements.
Can we monitor these checks automatically on every PR?
Yes. All email authentication checks are passive endpoints open to free self-serve API keys today.