Email Deliverability for Online Stores: SPF, DKIM, DMARC and the Spam Folder
By Kanishak Sharma, Adflipr

Authentication is what keeps your mail out of the spam folder.
Email deliverability is how much of your email reaches the inbox instead of the spam folder, and it comes down to two things: whether mailbox providers can tell your mail is really from you, and whether your customers want it. The first is technical and fixable in an afternoon of DNS records. The second is about who you email and how often.
Most stores learn this the hard way, when a sale email lands in spam or a campaign gets a 5.7.26 error. This guide covers what SPF, DKIM and DMARC actually do, the requirements Gmail, Yahoo and Microsoft now enforce on bulk senders, what a healthy sending reputation looks like, how to monitor it with Google Postmaster Tools, and the list and content habits that do more for the inbox than any trick.
This guide is published by Adflipr, a marketing automation platform for Shopify and WooCommerce stores. The advice below applies whichever email tool you use.
Why Emails Go to Spam
A mailbox provider like Gmail has to decide, for every message, whether the sender is who they claim to be and whether the person wants the message. It looks at four things:
- Authentication. Can the provider verify that your domain sent this message? That is what SPF, DKIM and DMARC records are for, and unauthenticated mail is the most common technical reason for spam foldering.
- Reputation. What has this domain and IP address done lately? Spam complaints, unknown-recipient bounces and messages to people who never open your email all lower it.
- Complaints and engagement. How often do recipients mark your mail as spam, and do they open, click or reply to it? Gmail's own tooling puts the emphasis on people reporting your messages as spam.
- Expectations. Did the person sign up for this, do they expect email from you, and does the message look like the ones they signed up for?
Content matters less than most guides claim. Authentication, reputations and who you send to do most of the work. That is also why the fix for most "we keep landing in spam" cases is a mix of DNS records and list habits, not a new subject line.
SPF, DKIM and DMARC in Plain English
These three DNS records are how you prove a message is yours. You don't need to be technical to understand what each one does, but you do need all three.
| Record | What it does | Where it lives | Plain English |
|---|---|---|---|
| SPF | Lists the servers allowed to send email for your domain | A TXT record at your domain's root | "These are our post offices." |
| DKIM | Adds a cryptographic signature to each message | A TXT record at a selector, such as selector._domainkey.yourdomain.com |
"This message was signed with our key." |
| DMARC | Tells providers what to do when a message fails SPF or DKIM, and where to send reports | A TXT record at _dmarc.yourdomain.com |
"If it fails, quarantine it, and tell us." |
SPF
SPF (Sender Policy Framework) is a list, published in DNS, of every server and service allowed to send email with your domain in the return address. A receiving server checks the list before accepting mail (Google Workspace Help, set up SPF).
Two things go wrong most often. First, a store adds a new tool, such as an email platform or a review app, and forgets to add it to the SPF record, so that tool's mail starts failing. Second, the record keeps growing, and there is a limit of 10 DNS lookups per SPF check, so a long record can break the whole check. Keep the record short and remove services you no longer use.
DKIM
DKIM (DomainKeys Identified Mail) signs each message with a private key, and publishes the matching public key in DNS so receiving servers can check the signature (Google Workspace Help, set up DKIM). Where SPF says "this server was allowed to send", DKIM says "this message has not been changed and really came from us".
This matters more than it sounds. When mail is forwarded, SPF often fails, because the forwarding server isn't in your record, but DKIM usually survives. That's why Google recommends both.
DMARC
DMARC ties the two together. It tells providers what to do when a message fails both SPF and DKIM: nothing (p=none), send it to spam (p=quarantine), or reject it (p=reject). It also asks providers to send you reports about who is sending mail with your domain (Google Workspace Help, set up DMARC).
The usual order is to start at p=none with reporting on, read the reports for a few weeks, fix whatever is failing, then move to p=quarantine and later p=reject. Jumping straight to p=reject is how stores cut off their own order confirmations.
One more piece matters: alignment. For DMARC to pass, the domain in your visible From address must match the domain that passed SPF or DKIM. This is the most common reason a store has all three records and still fails: their email platform sends as yourstore.example but signs for a shared sending domain.
What Gmail, Yahoo and Microsoft Now Require
All three large providers tightened their rules for bulk senders, which they treat as roughly 5,000 messages a day to their users. The thresholds and requirements are similar enough that meeting the strictest one satisfies the others.

Bulk sender requirements at Gmail, Yahoo and Outlook.com.
| Requirement | Gmail | Yahoo | Outlook.com |
|---|---|---|---|
| SPF or DKIM | Required for all senders | SPF and DKIM required | SPF and DKIM required at high volume |
| DMARC | Required for bulk senders, p=none is acceptable |
Required for bulk senders, at least p=none, must pass |
Required for high-volume senders, p=none minimum, p=reject recommended |
| Alignment | From domain must align with SPF or DKIM | From domain must align with SPF or DKIM | Must align with SPF or DKIM, preferably both |
| One-click unsubscribe | Required for marketing mail from bulk senders | Required for marketing mail, List-Unsubscribe header with the one-click method |
Recommended for marketing mail |
| Unsubscribe handled within | 48 hours | 2 days | Promptly |
| Spam rate | Keep below 0.10%, never reach 0.30% | Keep below 0.3% | Monitoring available through SNDS and JMRP |
| Enforcement | Failure codes, spam foldering or withheld support | Junk foldering, throttling or blocking | Junk foldering, then rejection with a 550 5.7.515 error |
Sources are listed at the end. Two details are worth calling out. Gmail sets the target lower than the hard limit: keep the user-reported spam rate below 0.10% and never let it reach 0.30% (Gmail Help, sender guidelines, FAQ). And the unsubscribe requirement is defined by a header, not by a visible link: the List-Unsubscribe header with the one-click method from RFC 8058, plus a clearly visible unsubscribe link in the message body (Yahoo Sender Hub, best practices).
If your store sends fewer than 5,000 emails a day to Gmail users, you are not a bulk sender, but all senders still need SPF or DKIM and should keep their spam rate below 0.3%. Small senders also have the advantage that one bad campaign can't hurt as much.
Why Opens Are No Longer a Good Engagement Signal
Engagement is part of how providers decide where your mail goes, and the usual engagement number, the open rate, isn't reliable.
Apple's Mail Privacy Protection, which iPhone, iPad and Mac users can turn on, stops senders from seeing whether an email was opened. Mail loads remote content, including tracking pixels, privately and in the background (Apple Support, Mail Privacy Protection). Two practical consequences:
- Your open rate looks better than your real engagement. Messages that were never read can count as opens.
- You can't safely re-engage "non-openers." A campaign aimed at people who didn't open will skip readers whose opens were counted automatically, and may hit people who did read and just didn't want that email.
Use clicks, replies, purchases and time since the last purchase to decide who is engaged, and treat open rates as a rough trend. Google's own advice for senders is to email people who want the messages, make it easy to unsubscribe, and consider unsubscribing people who don't open or read what you send (Gmail Help, set up Postmaster Tools).
How to Check Your Own Setup
Before changing anything, see where you stand. Twenty minutes and no tools beyond a browser.
- Check SPF, DKIM and DMARC are published. Look up the TXT records for your domain,
_dmarc.yourdomain.comand your DKIM selector. Most DNS providers show them in their control panel; several free lookup tools on the web show what the public DNS actually returns. - Check alignment. Send a test email from your store to a Gmail and an Outlook address, open the message, choose "Show original" (Gmail) or "View message source" (Outlook), and read the authentication results. Look for SPF pass, DKIM pass and DMARC pass, and check that the domain shown is the one in your From address.
- Send the test from each tool that sends email. Your email platform, your review app, your helpdesk and your store platform may each have their own sending domain. Mail from a tool that isn't in your SPF record is the classic hidden failure.
- Check the reply address. If replies go to an address nobody reads, people hit spam instead of replying.
- Look at your bounce rate and complaint rate. Your email platform shows both. Unknown-recipient bounces mean list hygiene, and complaints mean expectations.
- Sign up for Gmail Postmaster Tools. It shows spam rate, IP and domain reputation, authentication success and delivery errors for your sending domain, and it's free (Gmail Help, Postmaster Tools dashboards). Add the domain you authenticate with, and verify it with a TXT or CNAME record.
The Technical Checklist

SPF, DKIM and DMARC: what each one does and where it lives.
A setup that passes at Gmail, Yahoo and Outlook covers:
- SPF record published, listing every service that sends mail as your domain, kept under the 10-lookup limit, with old services removed.
- DKIM turned on for each sending domain, with keys of at least 1024 bits. Google recommends 2048.
- DMARC published at
_dmarcwith a reporting address,p=noneto start, then strengthened top=quarantineandp=reject. - Alignment between your From domain and the SPF or DKIM domain, confirmed by reading authentication results on a real message.
- A valid return path and reverse DNS for the sending IP, which your email platform normally handles for you.
- A
List-Unsubscribeheader with the one-click method and a visible unsubscribe link in the body of marketing messages. - Unsubscribes honored quickly, within 48 hours to meet the strictest of the big three.
- A DMARC report address you read, or a DMARC monitoring service, so you learn when your own store tools start failing.
- TLS for sending, so mail is encrypted in transit.
If you send from a shared platform, most of this is done for you and the job is to confirm it, not to build it. Ask your platform what sending domain and DKIM selector you should publish.
Reputation and the Habits That Protect It
Records get you authenticated. Habits keep you out of the spam folder.
Send to people who asked for it
Subscribers who opted in complain less. For customers, check what your country allows: in the UK, for example, the ICO's soft opt-in lets you email existing customers about your own similar products, but only if you offered a clear chance to opt out when you collected the address and in every message since (ICO, electronic mail marketing). Rules differ by country, so check the ones your customers live in. This isn't legal advice.
Let people choose less, not only "never"
A preference centre beats a single unsubscribe link. Someone who wants fewer emails a month, or only sale announcements, is still a customer; someone who unsubscribes completely is gone. Every email also needs a clearly visible unsubscribe link, and it must work without a login.
Handle unsubscribes and complaints immediately
A one-click unsubscribe that takes effect within 48 hours is a requirement, not a courtesy, and complaints should stop marketing sends right away. In most platforms a spam complaint is permanent: keeping someone who reported you means every later message is at risk. Google can take a while to credit improvements in spam rate, so fixing this the day it appears matters.
Watch the bounces
Hard bounces, where the address doesn't exist, should be suppressed and never retried; sending again and again to dead addresses is one of the fastest ways to lose a reputation. Soft bounces, where the mailbox is temporarily full or unavailable, are worth a few retries before you stop. Our guide to hard and soft bounces and suppression lists covers the rules in detail.
Don't buy lists, and don't scrape
Purchased lists bring unknown-recipient bounces and complaints from people who never heard of you. No subject line survives that.
Not everyone needs a send every week
Sending less to people who don't engage protects the messages that matter. Some stores keep a monthly or quarterly newsletter for less engaged readers, and send more often only to people who click.
Check before you send a big campaign
Send to a small slice of the list, look at the bounces and the complaint rate, and only then send to everyone. If you have a tool that checks a campaign for broken links and spam-like patterns, a two-minute check before a full send costs nothing.
Common Deliverability Mistakes
- Adding a new sending tool without updating SPF. Its mail starts failing immediately, often silently.
- Stopping at SPF. Without DKIM, forwarded mail and any message whose contents change in transit can fail.
- Setting
p=rejecton day one. Start atp=none, read the reports, then tighten. - Ignoring alignment. All three records published, and the From domain still doesn't match the signing domain.
- Never checking Postmaster Tools. The spam rate and reputation dashboards tell you before your customers do.
- Emailing "didn't open" segments. Opens are unreliable, so these segments miss readers and hit the wrong people.
- One unsubscribe link and nothing else. A preference centre keeps more people on the list.
- Sending campaigns to the whole list every week. More email to less engaged people is how a good sender becomes a spam folder regular.
- Treating deliverability as a one-off setup. Records change, tools get added, and reports go unread.
How Adflipr Handles Deliverability
Adflipr is a marketing automation platform for Shopify and WooCommerce stores, and the parts of deliverability that live in the email tool are handled in the platform.
- Unsubscribes and complaints stop marketing sends right away, and are checked on every send, including each step of a flow.
- A global suppression list. Hard-bounced addresses are suppressed immediately and never billed, and are not retried by other stores on the same sending system. Soft bounces are retried for 3 days, and 3 to 5 consecutive soft bounces are treated as hard.
- Order and shipping email is kept separate from marketing, so a transactional message still arrives even if someone has unsubscribed from marketing.
- Bounce protection. Sending can be paused when bounces get too high, rather than continuing to damage the domain.
- Opt-in tracking, so you can see which forms and landing pages bring subscribers who engage.
See Adflipr's built-in email deliverability features, or read our short definitions of email deliverability, SPF and DMARC. For the flow side of email, see our guide to email marketing automation.
Sign up for Adflipr and set up your first flow.
Frequently Asked Questions
What is email deliverability?
Email deliverability is the share of your email that reaches the inbox instead of the spam folder or a rejection. It depends on authentication (SPF, DKIM and DMARC), the reputation of your sending domain and IP address, how often recipients mark your mail as spam, and whether the people on your list expect to hear from you.
What is the difference between SPF, DKIM and DMARC?
SPF lists the servers allowed to send email for your domain. DKIM adds a signature that proves a message wasn't changed and came from your domain. DMARC tells mailbox providers what to do when a message fails SPF or DKIM, and asks them to send you reports. SPF and DKIM protect a message; DMARC sets the policy for failures.
Do I need DMARC if I have SPF and DKIM?
Yes, if you send bulk email. Gmail, Yahoo and Outlook.com require DMARC for senders above their bulk thresholds, and DMARC is what lets you control what happens when authentication fails. It also gives you reports showing which services are sending mail with your domain, which is how you catch a failing tool.
Why are my emails going to spam even though SPF and DKIM pass?
The most common causes are a missing or misaligned DMARC record, a high spam complaint rate, sending to people who never engaged, and bounces from old addresses. Check the domain alignment in your message headers, then look at your complaint and bounce rates, and at how recently your list was cleaned.
What is the difference between the spam rate and the complaint rate?
They are usually the same number in different places. Your email platform shows complaints as a share of delivered mail; Gmail's Postmaster Tools shows a user-reported spam rate for messages delivered to Gmail inboxes. Google's guidance is to keep it below 0.10% and never let it reach 0.30%.
What is a good email bounce rate?
There is no universal number, but hard bounces should be rare and treated as a sign of list quality, not a fact of life. Any address that hard bounces should be suppressed immediately and never mailed again. A rising hard bounce rate usually means the list is old or was collected badly.
How do I set up a custom sending domain?
Ask your email platform for the domain and DKIM selector it wants you to use, then publish the SPF and DKIM records it gives you at your DNS provider, add a DMARC record at _dmarc, and send a test message to a Gmail and an Outlook address to confirm that all three pass. Custom sending domains are what make your mail visibly yours rather than your platform's.
Do I need SPF, DKIM and DMARC for transactional emails too?
Yes. Authentication applies to everything sent with your domain, and order confirmations and shipping updates are usually the most important messages you send. What differs is the unsubscribe side: marketing messages need one-click unsubscribe, while transactional messages are generally exempt.
Sources
Google Workspace Help, Set up SPF, Google Workspace Help, Set up DKIM, Google Workspace Help, Set up DMARC, Google Workspace Help, About authentication methods, Gmail Help, Email sender guidelines, Gmail Help, Email sender guidelines FAQ, Gmail Help, Check if your Gmail message is authenticated, Gmail Help, Set up Postmaster Tools, Gmail Help, Postmaster Tools dashboards, Yahoo Sender Hub, Sender best practices, Outlook.com Postmaster, Policies, Microsoft, Outlook requirements for high-volume senders, Apple Support, Mail Privacy Protection, ICO, Electronic mail marketing. All read October 11, 2026.
About the author: Kanishak Sharma writes Adflipr's guides on email marketing, marketing automation and customer messaging. More from Kanishak on his Adflipr author page and LinkedIn.
Comments
Post a Comment