Valeriia Horbenko
Home / Blog / Shopify

Why are my Shopify and Klaviyo emails going to spam? The DNS fix

Short answer

Most Shopify stores have two senders: Shopify for order emails and Klaviyo for marketing. Authenticate your domain in Shopify, move Klaviyo to a branded sending domain, and publish one DMARC record. Then check in Gmail that DKIM and DMARC pass with your own domain.

First, find out which problem you have

There are two separate senders in most Shopify stores, and they break in different ways:

EmailSent byWhat usually goes wrong
Order confirmations, shipping updates, password resetsShopifyDomain never authenticated in Shopify, so mail goes out "via shopifyemail.com"
Welcome flow, abandoned cart, campaignsKlaviyoStill on Klaviyo's shared sending domain, so DKIM is signed by klaviyomail.com, not by you
BothYour DNSNo DMARC record, or two SPF records fighting each other

The fastest way to tell: send yourself one order notification and one Klaviyo email to a Gmail address, open each, click the three dots and choose Show original. You're looking for three lines near the top: SPF, DKIM and DMARC, each with a domain next to it. If DKIM shows klaviyomail.com or shopifyemail.com instead of your store's domain, that's your answer.

Why it worked before and stopped now

Nothing on your side changed. The inbox providers did. Since February 2024, Gmail and Yahoo require anyone sending 5,000 or more messages a day to authenticate with SPF and DKIM, publish a DMARC record, and send mail where at least one of those lines up with the domain in the From address. Microsoft applied the same rules to Outlook.com and Hotmail in May 2025. Gmail has been rejecting non-compliant traffic outright, not just filing it as spam, since late 2025.

Under 5,000 a day you're not formally a bulk sender, but the same signals still decide where you land. And in early November 2026 Outlook.com briefly bounced mail from domains with no DMARC record at all, small senders included. Microsoft called it a faulty spam rule and rolled it back after four days, but it showed how little slack there is left. One TXT record would have avoided it.

Fix 1: authenticate your domain in Shopify

Until you do this, Shopify sends your order emails from its own infrastructure, and Gmail shows your sender name with "via shopifyemail.com" after it. It reads as a stranger sending on your behalf, because technically it is.

  1. In Shopify admin, go to Settings → Notifications and find Sender email.
  2. Make sure the sender address is on your own domain ([email protected]), not a Gmail address.
  3. Click Authenticate domain. Shopify shows a set of CNAME records.
  4. Add every record it shows at your DNS host (Cloudflare, GoDaddy, Namecheap). The number varies, and missing one is the most common reason authentication never completes.
  5. Come back to Shopify and verify. DNS changes can take a few hours.

On Cloudflare, set these records to DNS only (grey cloud), not proxied. A proxied CNAME is invisible to Shopify's check and it will keep saying your domain isn't authenticated.

Domain authentication needs a paid Shopify plan. Development stores can't do it.

Fix 2: move Klaviyo to a branded sending domain

New Klaviyo accounts send from a shared domain. Klaviyo signs those emails with its own DKIM key, and its shared domain has a relaxed DMARC policy so the mail still gets through. But your domain isn't the one being authenticated, so you don't build any reputation of your own, and you fail the alignment test the bulk sender rules ask for. Klaviyo itself now treats a branded sending domain as a requirement for bulk senders.

  1. In Klaviyo, open Settings → Email → Domains and add a branded sending domain.
  2. Use a subdomain, such as send.yourstore.com. Your root domain stays free for Shopify and your team's mailboxes.
  3. Klaviyo gives you DNS records (CNAME, or NS if you hand it the subdomain). Add them, again as DNS only on Cloudflare.
  4. Verify in Klaviyo, then set your default sender to an address on your root domain, like [email protected].

Once it's live, DKIM is signed with your subdomain, which lines up with your root domain under DMARC's default relaxed alignment. That's the pass you need.

Fix 3: publish one DMARC record

If you have none, add a TXT record at _dmarc.yourstore.com:

v=DMARC1; p=none; rua=mailto:[email protected]

p=none doesn't block anything. It tells inbox providers you're watching and sends you reports about who's sending as your domain. That's enough to meet the current requirements. When the reports show everything legitimate passing, you can tighten it, which I walk through in moving from p=none to quarantine.

Two things to check while you're in DNS: you should have exactly one DMARC record and exactly one SPF record on the root. A second SPF record, often left by an old email tool, makes SPF fail for everything. If your SPF record has grown long, see SPF too many DNS lookups.

Check it worked

Send yourself the same two emails again and open Show original. You want DKIM: PASS with your own domain on both, and DMARC: PASS. The "via shopifyemail.com" label should be gone. You can also run your domain through the live check on my homepage, which reads your SPF and DMARC records and flags the usual mistakes.

If authentication passes and you're still in spam

Then the problem is reputation, not setup. The usual suspects in Shopify stores:

  • Old, unengaged lists. Sending every campaign to everyone who signed up three years ago. Send to engaged profiles first and sunset people who haven't opened or clicked in months.
  • Spam complaints. Gmail wants you under 0.3%, and ideally under 0.1%. Check Google Postmaster Tools for your domain.
  • A hidden unsubscribe link. Bulk senders must support one-click unsubscribe. Klaviyo adds the header for you, but don't make the footer link hard to find, or people will hit "Report spam" instead.
  • A sudden jump in volume. Going from a few thousand to a full-list Black Friday send overnight looks suspicious. Ramp up over the weeks before a big send.

Quick questions

Do I need DMARC if I send fewer than 5,000 emails a day?

The formal bulk sender rules start at 5,000 a day, but a DMARC record costs nothing, protects your domain from spoofing, and avoids surprises like Outlook.com's short-lived rejections in November 2026.

Can Shopify and Klaviyo share one domain?

Yes. Shopify authenticates your root domain with its CNAME records, and Klaviyo uses a subdomain such as send.yourstore.com. Both align with your root domain under DMARC.

Why does Gmail show 'via shopifyemail.com'?

Your domain isn't authenticated in Shopify yet, so Shopify signs the email with its own domain. Authenticating in Settings → Notifications removes it.

V
Valeriia Horbenko

Email retention marketer working with B2B SaaS. I fix email authentication and build lifecycle sequences, everything over email.

Want me to check your domain?

Run the live check on my homepage, or send me your domain and get a one-page report within one business day. Free.

Run the live check →
© 2026 Valeriia Horbenko. All rights reserved.Privacy policyTerms of serviceBusiness detailsLinkedInTelegram