Emails Going to Spam: SPF, DKIM, and DMARC Authentication Issues with Shopify-SendGrid

Topic summary

A user is experiencing email deliverability problems with newsletters sent through Shopify (using SendGrid) landing in Gmail spam folders, despite properly configured authentication for Google Workspace emails.

Authentication Failures Identified:

  • SPF: Returns “NONE” because Shopify’s mail server IP isn’t recognized in the SPF record
  • DKIM: Fails due to domain misalignment (email signed by sendgrid.info)
  • DMARC: Fails as a consequence of SPF and DKIM failures

Current Configuration:

  • SPF record includes Google, Shopify, and SendGrid domains
  • DKIM configured only for Google Workspace
  • No DKIM setup for Shopify/SendGrid

Suspected Next Steps:

  • Verify SPF record propagation and correct inclusion of SendGrid
  • Configure DKIM authentication specifically for Shopify/SendGrid domain
  • Investigate potential missing configuration steps

The discussion remains open with the user seeking guidance on resolving these authentication issues.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

I’m running into email authentication issues when sending newsletters via Shopify (SendGrid). My email is managed through Google Workspace. I’ve correctly configured SPF, DKIM, and DMARC on Namecheap, and emails sent from my Google Workspace account work fine. However, when I send newsletters via Shopify (SendGrid), they go to spam in Gmail. I’m currently only sending confirmation mails to the new subscribers.

Email Authentication Issues (Gmail Report)
SPF: NONE – Shopify’s mail server (159.183.136.238) is not included in my SPF record.
DKIM: FAIL – The email is signed by sendgrid.info, but my domain is causing misalignment.
DMARC: FAIL – Because SPF and DKIM fail, DMARC also fails.

Current SPF record:

v=spf1 include:_spf.google.com include:shops.shopify.com include:sendgrid.info ~all

DKIM TXT Record - Configured for Google Workspace

google._domainkey.mydomain.xyz

but I haven’t added DKIM for Shopify/SendGrid as I have no information if this is necessary and how to do it.

Steps I Think I Need to Take:

  • Update SPF to include Shopify and SendGrid (? supposedly I’ve done it already but Gmail is not aware of it)
  • Enable Shopify DKIM authentication for my domain.
  • Is there anything else I might be missing?

I’d appreciate any guidance! :rocket:

Thanks!

Giorgio

1 Like