Yousto StoreBuy MailAuth Preflight
DELIVERABILITY GATE

Buy MailAuth Preflight.

Catch missing SPF, DKIM, DMARC, and alignment errors before sending critical email campaigns.

$29/mo
Billed monthly with Polar MoR

Drop-In Integration Stage

OpenAPI 3.1 & Gateway Compatible
14.38ms p95
import httpx

response = httpx.post(
    "https://api.youstostore.com/v1/inspect",
    headers={"X-API-Key": "sk_live_your_key"},
    json={
        "raw_mime": "From: noreply@acme.com\nTo: user@example.com\nSubject: Welcome...",
        "sender_domain": "acme.com",
        "providers": ["gmail", "yahoo"]
    }
)
result = response.json()
print(result["spf"])    # {"result": "pass", "record": "v=spf1 ..."}
print(result["dkim"])   # {"result": "pass", "selector": "google"}
print(result["dmarc"])  # {"result": "pass", "policy": "reject"}
Billing cycle. Choose terms.Save 17% on Annual
Tier. Which is best for your architecture?

Developer Tier

Standard production volumeSub-15ms p95 latency
$29/month
Full API production endpoint access
OpenAPI 3.1 & SDK generation ready
Automated Merchant of Record VAT invoicing
Sub-15ms edge routing

Growth Tier

RECOMMENDED
High-volume production tierSub-10ms p95 latency
$72.5/month

Enterprise Tier

Enterprise scale & SLASub-8ms p95 latency
$174/month
MailAuth PreflightDeveloper Tiermonthly
$29/month
Polar.sh Merchant of Record automated VAT invoice.
Instant cryptographically signed API Key issued on checkout.
ARCHITECTURE & VALUE PROPOSITION

MailAuth Preflight

**Eyebrow:** Pre-send email authentication linting

The Problem

Engineering Pain & Fragility

A campaign can look correct in an editor and still leave your system with incomplete unsubscribe headers or missing sender-authentication records. Those failures often surface late: during a launch review, after a provider rejects mail, or when an engineer has to compare generated MIME against several policy documents by hand.

MailAuth Preflight provides that narrow control point. It is a pre-send linter—not a campaign platform, a deliverability score or a promise of inbox placement.

The Solution

What the API Solves

Send raw MIME, the sender domain and, optionally, a provider selection of `gmail`, `yahoo` or both to `POST /v1/inspect`. The service:

- parses the supplied message as MIME and verifies that it contains a `From` header, a header/body boundary and a body; - checks for the RFC 8058 `List-Unsubscribe-Post: List-Unsubscribe=One-Click` header; - checks that `List-Unsubscribe` contains an HTTPS URL; - performs timeout-bounded DNS TXT lookups for SPF and DMARC signals on the sender domain; - reports SPF, DKIM and DMARC publication checks using a versioned policy response; - returns a top-level `pass`, `warn` or `fail` verdict, evidence for every check, and plain-language repairs.

The response is structured JSON, so the same result can block a deployment, annotate a pull request, populate an internal approval screen or create a support ticket.

EXECUTION PIPELINE

How it works. Step by step.

01

Generate the final message.

Produce the raw MIME after your application or email service has applied template data and headers.

02

Submit it before release.

Call `POST /v1/inspect` with your API key, `raw_mime` and `sender_domain`. MIME is limited to 512 KiB.

03

Run message and domain checks.

MailAuth parses the MIME and checks the unsubscribe and sender-authentication signals currently implemented.

04

Read the verdict and evidence.

Each check has a stable code, a `pass`, `warn` or `fail` status, and a short evidence string.

05

Apply the repairs.

The response names concrete changes, such as adding the one-click unsubscribe header or publishing/correcting a DNS record.

06

Re-run the gate.

Inspect the corrected MIME and domain configuration before your application hands the campaign to its sending provider.

PRODUCTION GUARANTEES

Built for enterprise production standards.

**Inspection of the real outbound artifact

**Inspection of the real outbound artifact:** Test raw MIME rather than relying only on fields copied from a template editor.

**RFC 8058 header checks

**RFC 8058 header checks:** Detect a missing one-click POST header and a missing HTTPS unsubscribe target.

**Live DNS signals

**Live DNS signals:** Inspect sender-domain TXT records at request time for the SPF and DMARC checks implemented by the resolver adapter.

**Actionable repairs

**Actionable repairs:** Return specific header or DNS work instead of a generic “deliverability issue.”

**Versioned results

**Versioned results:** Include `policy_version` so a stored decision can be tied to the rule response used at inspection time.

**Machine-readable verdicts

**Machine-readable verdicts:** Use stable JSON fields and check codes in CI, release workflows and internal tooling.

**Strict input boundaries

**Strict input boundaries:** Reject malformed requests and cap raw MIME at 512 KiB.

**No MIME-body retention in the service flow

**No MIME-body retention in the service flow:** The implementation parses the body in memory and does not write it to the application store.

TARGET WORKFLOWS

Ideal use cases & engineering workflows.

MailAuth Preflight fits teams that already have a sending system but need a dependable release check:

- SaaS companies sending product updates, account notices or lifecycle campaigns; - email platforms and agencies approving messages for multiple sender domains; - marketing-operations teams that need engineering-grade checks without manually reading MIME; - developers maintaining notification pipelines or custom email infrastructure; - compliance and deliverability specialists who want repeatable evidence attached to releases.

- Gate a generated campaign sample in CI before a template is promoted. - Inspect the final production MIME immediately before a bulk release. - Validate one-click unsubscribe headers after switching email vendors or template engines. - Check sender-domain SPF and DMARC publication during domain onboarding. - Turn a failed check into an internal ticket with the exact repair text. - Store the policy version and verdict digest alongside a campaign approval record.

ECONOMIC DECISION

Why buy instead of building internally?

A useful preflight gate needs safe MIME parsing, bounded inputs, DNS timeouts, stable errors, versioned results, authentication and operational controls. The maintenance burden starts after the first script works: parsers meet unusual messages and every integration invents its own output format.

MailAuth Preflight packages the narrow workflow behind one contract. Your team owns the decision—warn, block or request review—without owning another public API surface and its security and operational plumbing. It also keeps the linter independent from your email service provider, which makes the gate easier to retain when the sending stack changes.

Zero recurring maintenance tax
Sub-15ms edge caching & validation
Tenant-scoped cryptographic isolation
INFRASTRUCTURE HARDENING

Security, privacy and operational integrity.

Auth SchemeSHA-256 Digest API Keys
IsolationTenant-scoped Namespaces
ObservabilityPrometheus & X-Request-ID

API keys are sent in the `X-API-Key` header. The scaffold indexes keys by SHA-256 digest rather than storing plaintext keys in its key store, supports revocation, and resolves tenant identity from the authenticated principal rather than accepting it in the request body.

Mail MIME can contain personal data, credentials and internal links. The MailAuth inspection path does not persist the supplied MIME or write request bodies to its application logs. Request logs use request IDs and route/status metadata. The product contract calls for redacted diagnostics and 30-day retention of policy version, verdict digest and usage—not MIME bodies—when that production persistence is enabled.

Live DNS access is timeout-bounded. The service exposes health checks, metrics, structured errors and rate-limit retry metadata. Tests cover authenticated inspection, malformed MIME, metering, key handling and contract exposure. These controls are not a certification or production SLA.

Transparent Disclosure

Architectural Scope & Production Boundaries

MailAuth is **pre-send linting only**. It does not send campaigns, seed inboxes, predict inbox placement or guarantee delivery.
It is not a DMARC aggregate-report dashboard and does not monitor aggregate reports over time.
The current checks cover MIME structure, RFC 8058 one-click unsubscribe headers, an HTTPS unsubscribe URL, and sender-authentication publication signals. They are not a complete review of every provider policy.
The current live resolver implementation directly detects SPF and DMARC TXT records. DKIM cannot be discovered generically without a selector; the present live adapter does not resolve a selector and therefore cannot independently verify DKIM publication.
The `providers` field currently accepts Gmail and Yahoo values, but the inspected implementation does not apply different rule branches based on that field. Treat provider-specific expansion as roadmap work, not current behavior.
A passing preflight means the implemented checks passed at inspection time. Reputation, list quality, content, traffic patterns, alignment details and receiving-provider decisions remain outside the result.
DNS observations can change after inspection. Re-run close to send for time-sensitive releases.
The supplied server URL in the contract is a placeholder. Availability, region and final service URL must be confirmed during access provisioning.
FREQUENTLY ASKED QUESTIONS

Questions & answers for engineering leads.

No. Your system sends the message. MailAuth receives a raw MIME sample for inspection and returns a result before release. You can call it from any workflow that can make an HTTPS request.

READY FOR PRODUCTION

Deploy MailAuth Preflight in minutes.

Start with our developer tier on Polar.sh Merchant of Record. Automated EU VAT invoices, instant API key generation, and 99.99% edge uptime SLA.