Skip to content
codewithanjum
Lead gen

Cold email deliverability setup: SPF, DKIM and DMARC guide

A cold email deliverability setup for Google Workspace: separate sending domain, real SPF, DKIM and DMARC records, warm-up, volume and Gmail and Yahoo rules.

By Md Anjum Kamali · · 6 min read

Painting of an envelope under a magnifying glass that shows a contact card, on a green background
On this page
  1. What is email deliverability?
  2. Step 1: Set up a separate sending domain
  3. Step 2: Add SPF, DKIM and DMARC
  4. What are Google's and Yahoo's bulk sender requirements?
  5. Step 3: Warm up the domain
  6. Step 4: Keep volume low per inbox
  7. Step 5: Clean the list before every send
  8. A short pre-send checklist
  9. Questions people ask

A working cold email deliverability setup has five parts: a separate sending domain, SPF, DKIM and DMARC records on it, a slow warm-up, low daily volume per inbox, and a verified list. On Google Workspace that means one TXT record for SPF (v=spf1 include:_spf.google.com ~all), a DKIM key generated in the Admin console, and a DMARC record starting at p=none. Get those right and most of what's left is list quality and copy.

Below is the exact setup, with real records you can copy.

What is email deliverability?

Email deliverability is whether your email reaches the recipient's inbox, as opposed to the spam folder or nowhere at all. "Delivered" only means the receiving server accepted it. Deliverability is about where it lands after that, and it depends on your domain's authentication, its sending history, and how recipients react to your mail.

Step 1: Set up a separate sending domain

Don't send cold email from the domain your company runs on. If a campaign gets marked as spam, you want the damage on a domain you can retire, not on the one that sends invoices and password resets.

  1. Buy a domain close to your brand, like getacme.com or tryacme.com for acme.com.
  2. Point its website to your main site with a redirect, so anyone who types it in lands somewhere real.
  3. Add it to Google Workspace and create real mailboxes for real people (priya@getacme.com), with a profile photo and signature.
  4. Set up MX records so replies arrive.

Then authenticate it.

Step 2: Add SPF, DKIM and DMARC

All three are DNS records. They tell receiving servers which servers may send for your domain, sign each message, and say what to do when a check fails.

Record Host Value (Google Workspace example)
SPF @ (root) v=spf1 include:_spf.google.com ~all
DKIM google._domainkey v=DKIM1; k=rsa; p=<key from Admin console>
DMARC _dmarc v=DMARC1; p=none; rua=mailto:dmarc@getacme.com; adkim=s; aspf=s

SPF

Google's SPF setup page gives v=spf1 include:_spf.google.com ~all for domains that only send through Workspace, and recommends ~all. If you also send through another tool's servers, add its include to the same record. Keep one SPF record per domain. Two records break the check.

DKIM

DKIM is generated inside Google Workspace, so you can't copy the key from anywhere else. Per Google's DKIM setup guide:

  1. Go to Admin console, then Apps, Google Workspace, Gmail, Authenticate email.
  2. Select the domain and click Generate New Record.
  3. Choose a 2048-bit key if your DNS host supports it, and keep the default selector google.
  4. Add the TXT record at google._domainkey with the value shown.
  5. Wait for DNS to update (Google says up to 48 hours), then click Start authentication.

If you just added the domain to Workspace, Google says you may need to wait 24 to 72 hours before you can generate the key at all.

DMARC

DMARC ties SPF and DKIM to the From address and tells receivers what to do with mail that fails. Google's DMARC setup page recommends starting with p=none, reading the reports, then moving to quarantine or reject once legitimate mail passes. A sending domain that only sends from Workspace can move fairly fast, because there are no other services to break.

Check your records

dig +short TXT getacme.com
dig +short TXT google._domainkey.getacme.com
dig +short TXT _dmarc.getacme.com
dig +short MX getacme.com

To confirm DKIM is passing, send a message to a Gmail address you control, open it, choose Show original and look for dkim=pass, spf=pass and dmarc=pass. Google notes you can't verify DKIM by sending a test message to yourself.

What are Google's and Yahoo's bulk sender requirements?

Since 2024, Gmail and Yahoo have enforced sender rules. Google's email sender guidelines set a baseline for everyone and stricter rules for anyone sending more than 5,000 messages a day to personal Gmail accounts. Yahoo's sender best practices set similar rules for bulk senders.

Requirement Google, all senders Google, 5,000+ a day Yahoo, bulk senders
SPF and DKIM SPF or DKIM Both Both
DMARC Not required Required, p=none allowed Required, at least p=none
From domain matches the SPF or DKIM domain (alignment) No Yes Yes
One-click unsubscribe No For marketing and subscribed mail For marketing and subscribed mail
Spam rate Below 0.3% Below 0.3% Below 0.3%

Google also asks all senders for valid forward and reverse DNS and TLS. If you send through Google Workspace, Google's servers already handle both.

A few details from Google's sender guidelines FAQ that matter for cold email:

  • The requirements and enforcement apply to mail sent to personal Gmail accounts, not to Google Workspace accounts. A lot of B2B email goes to company inboxes on Workspace or Microsoft 365, and those run their own spam filtering, so this isn't a free pass.
  • Once you cross roughly 5,000 messages a day to personal Gmail accounts, you're treated as a bulk sender permanently.
  • Google recommends honouring unsubscribe requests within 48 hours. Yahoo says to honour them within 2 days.

The guidelines also say to keep the spam rate in Postmaster Tools below 0.10% and never reach 0.30%. At low cold-email volumes, a handful of "report spam" clicks moves that number a lot.

One-click unsubscribe headers

If your sending tool supports it, one-click unsubscribe uses two headers defined in RFC 8058:

List-Unsubscribe: <https://getacme.com/unsubscribe?id=abc123>, <mailto:unsubscribe@getacme.com>
List-Unsubscribe-Post: List-Unsubscribe=One-Click

For plain one-to-one cold email sent from a Workspace inbox, a short line like "Not relevant? Reply 'no' and I won't email again" does the same job in practice. Honour it every time.

Step 3: Warm up the domain

A new domain has no sending history, and receivers are suspicious of mail from a domain they've never seen. Warm-up means sending small amounts of normal, wanted email first and increasing slowly.

There's no official warm-up schedule from Google or Yahoo. A cautious approach:

  1. Use the new inboxes for real email for the first couple of weeks: replies to people you know, newsletters you subscribe to, internal mail.
  2. Turn on a warm-up tool if you use one, but don't treat it as a substitute for real replies.
  3. Start cold sending at a low number per inbox per day.
  4. Raise volume in small steps only while bounces and complaints stay low.

Step 4: Keep volume low per inbox

Google Workspace's sending limits page lists 2,000 messages a day per user (500 on trial accounts). That's a hard ceiling, nowhere near a safe cold email target. I'd keep cold sending small and spread out: a few inboxes, each sending a modest number per day, with gaps between sends. If you need more volume, add inboxes or domains rather than pushing one inbox harder.

Step 5: Clean the list before every send

Authentication gets you a fair hearing. The list decides what happens next.

  1. Verify every address before it goes into a campaign.
  2. Remove invalid addresses and role addresses like info@ and sales@.
  3. Send catch-all addresses separately in small batches. I explain why in catch-all emails explained.
  4. Suppress anyone who bounced, unsubscribed or asked you to stop, across every domain you send from.
  5. Re-verify lists older than a few months, because people change jobs.

If you're building the list from scratch, start with how to find someone's work email. For enrichment at scale, Prospectee (which I co-founded) runs a waterfall across 40+ providers with your own API keys, but any finder plus a verifier works.

A short pre-send checklist

Before the first campaign goes out, check that the sending domain is separate and redirects to your site, dig returns SPF, DKIM, DMARC and MX records, a test email to Gmail shows three passes, the inboxes have been sending real mail for a couple of weeks, the list is verified with catch-alls split out, and every email has a clear way to opt out. If you automate any of this, my n8n workflow for outbound post shows how I wire alerts and logging around it.

Questions people ask

Do I need a separate domain for cold email?

It's the safer choice. If a cold campaign gets marked as spam, the damage stays on the sending domain instead of hitting the domain your team uses for invoices and password resets.

What SPF record does Google Workspace need?

If you only send through Google Workspace, Google's recommended record is v=spf1 include:_spf.google.com ~all, added as a TXT record on the root of the domain. Each domain and subdomain you send from needs its own SPF record.

What is the spam rate limit for Gmail?

Google's sender guidelines say to keep the spam rate reported in Postmaster Tools below 0.10% and to avoid ever reaching 0.30%. Yahoo's bulk sender rules also set the line at 0.3%.

Does one-click unsubscribe apply to cold email?

Google and Yahoo require it for marketing and subscribed messages from bulk senders. Google says recipients, not Google, decide what counts as promotional, so adding an easy unsubscribe to cold email is the safer habit.

How long should I warm up a new domain before cold emailing?

There's no official number. A cautious approach is to send low volumes of real, wanted email for a few weeks, then raise volume slowly while watching bounces and spam complaints.

Keep reading