Technical
Order confirmation emails landing in spam: the SPF/DKIM misconfiguration killing post-purchase trust
Richard K. · November 12, 2026 · 10 min read

Contents(6)
A customer places an order, waits for the confirmation email that normally arrives within seconds, and nothing shows up. They check spam. There it is, flagged, filed away, invisible unless they go looking. Now imagine that happening to every customer, for every order, for three weeks, while your order count looks perfectly healthy and nobody on your team notices because nobody on your team is checking their spam folder for emails they didn't send themselves.
Why authentication breaks without anyone touching it
Order confirmation email spam is rarely caused by a sudden, obvious event. It's almost always the result of a change made somewhere else for an unrelated reason, weeks or months earlier, that quietly invalidated the DNS records your emails depend on.
SPF (Sender Policy Framework) and DKIM (DomainKeys Identified Mail) are DNS-level records that tell receiving mail servers (Gmail, Outlook, Yahoo) that an email claiming to come from your domain is actually authorized to do so. When they're correctly configured, your transactional emails sail into the inbox. When they break, those same emails look to a spam filter exactly like what a phisher sending fake order confirmations would send: unauthenticated mail claiming to be from a brand it isn't verified to represent.
The break usually comes from one of three places. First, app installs: a new review app, loyalty app, or marketing platform asks for permission to send email on your behalf and either adds its own SPF include without checking the 10-lookup limit, or never gets properly authorized at all. Second, ESP migrations: you switch from one email service provider to another, or your theme migrates to a new transactional sender, and the old DKIM keys remain while new ones never get added, or vice versa. Third, domain or DNS changes: a new website host, a DNS migration, a security review, or just someone cleaning up old records deletes a TXT entry that looked unused but was in fact your SPF or DKIM anchor.
None of these events touch your storefront, your checkout, or your order volume. That's exactly why they go unnoticed. The order comes through fine. The payment clears fine. It's only the notification telling the customer it happened that silently fails.
How this specifically plays out on Shopify, WooCommerce, and BigCommerce
On Shopify, transactional emails (order confirmation, shipping, refund) are sent from Shopify's own infrastructure by default, which handles authentication for you. Deliverability problems tend to appear when a store connects a custom sending domain for marketing email, or installs apps that take over post-purchase emails (upsell apps, review request apps, SMS-plus-email bundles). If those apps aren't correctly verified with SPF and DKIM for your domain, their messages, including order-related ones they generate, are the ones that end up flagged. Shopify's own documentation covers domain verification steps in its help center, and a mismatch there is worth checking first.
On WooCommerce, the store itself is usually responsible for sending transactional email, often through the server's default mail function or a connected SMTP plugin. This setup is more fragile by design: a hosting migration, a plugin update, or a change in SMTP credentials can break authentication without any visible error on the WordPress side. WooCommerce.com's documentation recommends using a dedicated transactional email service specifically because default server mail delivery tends to degrade over time without anyone noticing.
On BigCommerce, transactional emails can be sent through BigCommerce's system or routed through a connected third-party ESP for more customization. The same principle applies: the more hands touching the sending configuration (your team, an agency, an ESP, an app), the more opportunities for one of them to change something that quietly invalidates a record another part of the chain depends on. If you run BigCommerce, it's worth pairing deliverability checks with the platform-specific monitoring points covered in how to monitor a BigCommerce store, since BigCommerce setups often involve more external integrations than people expect.
Across all three platforms, the common failure mode is the same: something changes the sending configuration, nobody re-verifies SPF and DKIM afterward, and transactional email deliverability degrades gradually rather than failing all at once. A single missing DKIM signature doesn't always send every email to spam immediately; it often increases the rate of spam placement over days or weeks as the sending domain's reputation adjusts, which makes the problem even harder to notice.
A confirmation email that lands in spam looks, from inside the business, identical to a confirmation email that was never sent.
What silent deliverability failure actually costs
The direct cost is support volume: "did my order go through?" tickets, chat messages, and social media comments from customers who have no reason to assume the email is sitting unread in a folder they rarely check. The indirect cost is larger and harder to measure. Order confirmation and shipping emails are the backbone of post-purchase trust. They're the proof that the transaction was real, the receipt a customer references for returns, and often the first touchpoint that reinforces a buying decision right after the customer has spent money with you. When that proof doesn't arrive, some customers assume the worst and contact their bank to dispute the charge before contacting you, which converts a deliverability problem into a chargeback problem.
This sits alongside other silent failure points that never touch the order record itself. If you've looked at webhook silence or the order that never arrived in your admin, the pattern should feel familiar: the failure happens downstream of a successful transaction, which is exactly why standard order-count dashboards never flag it.
How to check your SPF and DKIM configuration today
You don't need to be technical to run this check, and it takes about ten minutes.
First, send a real test order confirmation (or shipping notification) to a Gmail address you control, then open the message and view its original source (in Gmail, the three-dot menu offers "Show original"). Look for the SPF and DKIM results near the top of the headers. You want to see "PASS" next to both. A "FAIL" or "NEUTRAL" result on either one means the record is misconfigured or missing for the domain the email claims to come from.
Second, use a dedicated email testing tool such as mail-tester.com, which sends you a temporary address, scores the message you send to it, and explains exactly which authentication check failed and why. This is faster than reading raw headers and gives you a specific record to fix.
Third, check your SPF record's lookup count. Every included sending service (your ESP, your review app, your helpdesk) adds DNS lookups to your SPF record, and SPF enforces a hard limit of 10. Exceeding it causes a permanent SPF failure (a "permerror") for every message from your domain, not just the newest one. Each additional app you connect for email is a small, cumulative risk, and consolidating senders under fewer, verified providers reduces that risk meaningfully.
Fourth, re-verify authentication after any change to your sending setup: a new ESP, a new transactional email app, a hosting migration, or a DNS cleanup. This is the step almost everyone skips, because none of those changes feel like "email changes" at the time they're made.
Because this failure mode produces no error message anywhere in your store admin, it's one of the better arguments for continuous, automated checks rather than periodic manual ones. Cassian™ monitors order flow and alerts you when something in the post-purchase chain looks off, which won't read your spam folder for you but will catch the adjacent signals (a drop in confirmed deliveries, stalled order processing) that often accompany a broader deliverability problem. The Cassian Score™ summarizes that kind of store health signal in one number, so a creeping issue doesn't have to wait for a customer complaint to surface.
Frequently asked questions
- Why are my Shopify order confirmation emails going to spam?
- Shopify order confirmation emails typically land in spam when the sending domain's SPF or DKIM authentication fails, often because a connected app or custom sending domain isn't properly verified. This can happen after installing a new marketing or review app that takes over transactional email, after an ESP migration, or after a DNS record was removed during an unrelated cleanup. Checking the message headers in a test email (via Gmail's "Show original") will show whether SPF and DKIM pass or fail, which points directly to the broken record.
- What is the difference between SPF and DKIM for ecommerce email?
- SPF (Sender Policy Framework) is a DNS record listing which mail servers are allowed to send email for your domain, while DKIM (DomainKeys Identified Mail) is a cryptographic signature added to each message proving it wasn't altered in transit and genuinely came from an authorized sender. Both work together, and many receiving mail servers want at least one to pass, ideally both, before trusting a message enough to deliver it to the inbox. A store can have a valid SPF record but a broken or missing DKIM signature (or the reverse), and either gap can push transactional emails into spam.
- How do I know if my transactional emails are actually being delivered?
- The most direct way to confirm transactional email delivery is to place a real test order and check whether the confirmation lands in the inbox, not just whether your platform's admin shows the email as "sent." A platform marking an email as sent only confirms it left your server; it says nothing about whether the receiving mail server accepted it into the inbox versus spam. Running that test email through a tool like mail-tester.com will show the SPF/DKIM pass or fail status and flag other issues contributing to spam placement, such as a damaged sender reputation or missing DMARC policy.
Keeping the receipt where customers can see it
SPF and DKIM misconfigurations are unglamorous, easy to overlook, and disproportionately damaging because they strike at the one message every customer expects to receive without fail. The fix, once found, is usually a single corrected DNS record. The hard part is noticing before a customer notices first. Building a habit of re-checking authentication after any change to your sending setup, and treating email deliverability monitoring with the same seriousness as uptime or checkout monitoring, closes a gap that otherwise sits invisible until it costs you a chargeback and a customer's trust in the same afternoon.