Transactional emails land in spam
Receipts, password resets, magic links, or notifications reach some users' spam folders — or vanish entirely. Deliverability quietly worsens as you send more.
- Any stack
- Bubble
- Webflow
- Email delivery
Root cause, in plain English
Mailbox providers judge the sending domain, not the message copy. Mail fails their checks when SPF and DKIM records are missing or don't align with the domain in your From address — common when an email service was connected without finishing its DNS setup. Major providers like Gmail and Yahoo now require authenticated, DMARC-covered sending, so an unauthenticated or brand-new domain with no history gets filtered no matter how legitimate the email is.
How to fix it
Run the free deliverability audit on the domain in your From address — it checks SPF, DKIM, DMARC, MX, and transport security, and names each record that is missing, weak, or unenforced. Then send a real message through the flow your users hit: published DNS tells you what receivers should see, not what your app actually sends.
In your email provider's dashboard (Postmark, Resend, SES, SendGrid…), complete domain verification and add every DNS record it lists: the DKIM keys and the SPF include for that provider.
Publish a DMARC record (start with p=none and a reporting address; the generator below builds the record and explains each tag) so providers can see your domain claims its mail — then tighten policy once reports look clean.
Make the From domain match the authenticated domain. Sending "from" your domain through a service that isn't authorized for it is precisely what filters are built to catch.
Separate transactional from marketing sending (different subdomains, e.g. mail. and news.) so a newsletter complaint spike can't drag receipts and magic links down with it.
Free tools for these fixes
First-party tools from Folio, our email product. They help you check and build the records these steps describe.
- Free deliverability auditScores MX reachability, SPF, DKIM, DMARC, MTA-STS, TLS-RPT, and TLSA the way a strict receiver does, with the next fix for each gap. No login required.
- SPF record generator & checkerBuild an SPF record or paste an existing one to see every include, IP, and what ~all vs -all means in plain English.
- DMARC record generator & checkerBuild a DMARC record tag by tag, decode an existing one in plain English, and get the authorization record needed when reports go to another domain.
- Email domain health checkChecks MX, SPF, DKIM signals, DMARC, and whether DMARC is actually enforced for the domain in your From address.
Go deeper: the full guide to forms that accept and drop leads.
How Nightlamp detects this automatically
- Email flow
An email_flow monitor triggers your real transactional sends on a schedule and verifies the message actually arrives in a dedicated mailbox within the expected window — missing or badly delayed mail raises an alert. Because it exercises the genuine send path (your app, your provider, your domain), it catches DNS record regressions and provider issues the moment they start, not when users complain.
Catch this before your customers do
Nightlamp runs these checks continuously against your live app and sends a plain-English diagnosis — not a wall of logs — the moment this pattern shows up.
Related patterns
Frequently asked questions
- Why did deliverability get worse after a domain or DNS change?
- SPF, DKIM, and DMARC live in DNS. A site migration or DNS cutover that drops those records silently de-authenticates your email — everything keeps sending, but receivers stop trusting it. Re-verify your email DNS records after any domain work.
- My SPF record exists — why does authentication still fail?
- Alignment matters, not just existence: the domain that passes SPF/DKIM must match your From domain. Sending through a shared provider that signs with its own domain passes DKIM for them, not for you. Complete the provider's custom-domain setup so signatures use your domain.
- Does email content (spammy words, too many links) still matter?
- Far less than authentication and domain reputation. Fix SPF/DKIM/DMARC first; content tweaks on an unauthenticated domain are rearranging deck chairs. Once authenticated, keep complaint rates low and volume consistent.
Newsletter
Get new incident patterns as we publish them
One email when new failure patterns, fixes, and monitoring recipes for no-code and AI-built apps land. No fluff, unsubscribe any time.
Double opt-in. One-click unsubscribe. No spam, ever.