DIY · Step 6 of 22 · Domain, brand & website

Make your email spam-proof (SPF, DKIM, DMARC)

If your quotes and invoices land in spam, you lose jobs without knowing it. Gmail, Yahoo and Outlook check three records on your domain to decide if an email really came from you. Add them once and you're set.

15–30 minutes Free Difficulty: medium 3 DNS records

What you'll need

  • Your professional email working (Step 5)
  • Admin access to your email provider
  • Login to your domain's DNS settings
  • A list of other tools that send email as you (Square invoices, your CRM, newsletter tool)

Why this matters now

Since 2024, Gmail and Yahoo require every sender to authenticate their email with SPF or DKIM, and bulk senders (thousands of emails a day) need SPF, DKIM and DMARC plus one-click unsubscribe. Outlook has moved the same way. Small businesses that skip this see more emails in spam, especially to new customers.

RecordWhat it does
SPFThe list of servers allowed to send email as your domain
DKIMA digital signature that proves the email wasn't changed
DMARCTells inboxes what to do when SPF/DKIM fail, and sends you reports

1. SPF: one TXT record

In your DNS settings, add a TXT record with host @:

If you useValue
Google Workspacev=spf1 include:_spf.google.com ~all
Microsoft 365v=spf1 include:spf.protection.outlook.com -all
Only one SPF record

You can have only one SPF record. If other tools send email as you (your CRM, newsletter tool or invoicing app), add their include: to the same line, for example v=spf1 include:_spf.google.com include:servers.mcsv.net ~all. Each tool's help page lists its include. Keep it under 10 includes/lookups.

2. DKIM: turn on the signature

G

Google Workspace

Admin console → Apps → Google Workspace → Gmail → Authenticate email → Generate new record (2048-bit). Add the TXT record it shows with host google._domainkey, wait about an hour, then click Start authentication.

M

Microsoft 365

Microsoft Defender portal → Email & collaboration → Policies → Threat policies → Email authentication settings → DKIM. Select your domain, add the two CNAME records it shows (selector1._domainkey and selector2._domainkey), then turn DKIM on.

Other tools that send as you (CRM, newsletter) usually have their own DKIM records too. Add those when you connect them.

3. DMARC: start gentle, then tighten

Add a TXT record with host _dmarc:

DMARC record (start here)
v=DMARC1; p=none; rua=mailto:dmarc@yourdomain.com

p=none means “just watch and report”. After 2–4 weeks, when the reports show your real email passing, change it to p=quarantine so fake emails pretending to be you go to spam. Create the dmarc@ address as a free alias so the reports have somewhere to land.

Copy this prompt into Claude
My domain is [yourdomain.com]. Email: [Google Workspace / Microsoft 365].
Other tools that send email as my domain: [e.g. Square invoices, GoHighLevel, Mailchimp].
1. Write my single SPF record including all of them.
2. List the DKIM setup for each tool.
3. Give me a DMARC record to start with and the one to switch to after 3 weeks.
4. Tell me how to read a DMARC report in simple words.

4. Test it

  • Send an email from your business account to a Gmail address, open it, click the three dots → Show original. You want SPF: PASS, DKIM: PASS and DMARC: PASS.
  • Or send a test to mail-tester.com for a score out of 10.
  • Check the records themselves with Google Admin Toolbox CheckMX or MXToolbox.
Bonus: protect your reputation

If you'll send newsletters or big email blasts, send them from your email marketing tool with its own authentication, not one by one from your Gmail. That keeps your everyday inbox's reputation clean.

Google Admin Toolbox Check MX tool with a domain name field and a Run checks button
Google's free Check MX tool: type your domain, run the checks, and it flags missing MX, SPF, DKIM or DMARC records.

Bookmark these. They're the official sites, so you don't pay middlemen.

Emails still landing in spam?

Our IT service sets up and tests SPF, DKIM and DMARC for your domain and every tool that sends email for you.

Did this guide help you?

We'd love your comment or feedback. It tells us what to write next.

Get the next guide in your inbox

Join business owners getting our step-by-step guides, tips and tricks. No spam, unsubscribe anytime.