Store Setup Manual
Plain-English setup guides for Shopify store owners

Reviewed November 15, 2026

Shopify Email Setup: Sender Email, SPF, and Why Gmail Flags Your Store

Gmail flags a store email when it cannot verify the sender, and the verification is three DNS records: SPF, which lists the servers allowed to send for your domain, DKIM, which signs each message so Gmail can check it was not altered, and DMARC, which tells Gmail what to do when the first two fail. Shopify Email and most email apps set DKIM for you, but SPF and DMARC live in your domain's DNS, and a store that never added them sends mail that Gmail treats as suspicious, which is why the messages land in spam or carry a warning.

What Gmail actually checks

SPF is a TXT record on your domain that lists the mail servers allowed to send as you. When Gmail receives a message from your store, it looks up the SPF record and checks whether the sending server is on the list. If it is not, the message fails SPF, and Gmail treats it as possibly forged. The fix is to add Shopify's and your email app's sending servers to the record, and the failure mode is a record that lists one sender and forgets the other, so half the store's mail passes and half fails.

DKIM is a cryptographic signature added to each message, and the public key lives in your DNS as another TXT record. Gmail checks the signature against the key, and a match proves the message was not altered in transit. Shopify Email handles DKIM for the Shopify sender domain, but a custom sender address needs the DKIM key published for your own domain, and the app that sends the mail has to be the one that signed it. A DKIM key for the wrong domain, or a key that was never published, fails the same way as no key at all.

DMARC is the policy record that ties the two together. It tells Gmail what to do when SPF or DKIM fails: nothing, quarantine, or reject. A store with no DMARC record gets the default, which is nothing, so failed mail still arrives, but with a warning. A store with DMARC set to reject has its failed mail bounced, which is stricter and better, once the SPF and DKIM records are right. Set DMARC to none while you fix the other two, then move it to quarantine, then reject, and do not skip the steps.

The sender address mistake

The most common mistake is sending from a free address, a Gmail or Yahoo address, as the store's sender. Gmail treats mail from a free address sent through a third-party server as suspicious by design, because that pattern is exactly how phishing works, and no DNS record fixes it. The sender address has to be on the store's own domain, like hello@yourstore.com, and the domain has to have the SPF, DKIM, and DMARC records to back it up.

The second mistake is a mismatch between the sender address and the records. The SPF record covers the domain in the return path, not the domain in the from line, and when those two differ, Gmail checks the wrong one. Shopify Email and most apps let you set a custom sender, and the setup flow tells you which records to add, but the flow assumes you add all of them. Adding SPF and forgetting DKIM, or adding DKIM for the wrong subdomain, leaves the mail failing one check while passing the other, and Gmail flags it anyway.

The third mistake is the reply-to. A store that sends from hello@yourstore.com but sets the reply-to to a personal Gmail address confuses customers and spam filters alike, because the reply goes somewhere the sender never claimed. Set the reply-to to an address on the store domain too, and check it the same way you check the sender. The address customers reply to is part of the authentication story, not an afterthought.

The test, and the order to fix it

Send a test email to a Gmail address and read the headers. In Gmail, open the message, click Show original, and look for SPF, DKIM, and DMARC, each marked PASS. If any of them says FAIL or none, that is the record to fix, and the header tells you which one. The test takes two minutes and it is definitive, which is more than can be said for sending a test to yourself and concluding it works because it arrived.

Fix them in order: sender address first, so it is on the store domain, then SPF, then DKIM, then DMARC set to none. Test again after each one, and move DMARC to quarantine only when the first two pass consistently for a week. The week matters, because some mail, order confirmations, shipping updates, password resets, goes through different servers, and a record that covers the marketing mail may not cover the transactional mail. Test each type, not just one.

If the headers pass and Gmail still flags the mail, the problem is reputation, not authentication. A new domain, or a domain that sent spam before you owned it, starts with no reputation, and Gmail is cautious with it. The fix is volume and time: send to engaged customers first, keep the complaint rate low, and let the reputation build over weeks. Authentication is the door. Reputation is the welcome. You need both, and the door comes first.

Related reading

Related reading on this site: Shopify Markets Setup: Selling Abroad Without a Second Store, The Launch Checklist: 12 Things to Test Before You Announce Your Store.

Frequently asked questions

Why does Gmail flag my Shopify store emails?

Because it cannot verify the sender. Gmail checks SPF, DKIM, and DMARC records in your domain's DNS. A store that never added those records sends mail Gmail treats as suspicious, so it lands in spam or carries a warning.

What is an SPF record?

A TXT record on your domain listing the mail servers allowed to send as you. Gmail checks the sending server against the list, and a server not on it fails. Add Shopify's and your email app's servers to the record, and do not forget one of them.

Can I send store emails from a Gmail address?

You should not. Gmail treats mail from a free address sent through a third-party server as suspicious, because that is the pattern phishing uses. Send from an address on your store's own domain, with SPF, DKIM, and DMARC records to back it up.

How do I test if my email authentication works?

Send a test to Gmail, open it, click Show original, and read the headers. SPF, DKIM, and DMARC should each say PASS. If any says FAIL or none, that is the record to fix. Test marketing mail and transactional mail separately, they often go through different servers.