ESSAY // Nov 18, 2026

How to Keep Your B2B Cold Outreach Emails Out of the Spam Folder

How do you send B2B cold outreach emails without ruining your domain reputation or landing in spam? If you already use Google Workspace and Cloudflare, this bulletproof setup costs €0 extra.

B2B cold email setup using a dedicated subdomain, SPF, DKIM, and DMARC to avoid spam filters

Anyone doing B2B email outreach for their startup, agency, or SaaS product often makes one fatal mistake: sending cold outreach directly from their primary domain (name@yourcompany.com).

If even a handful of recipients click "Report Spam," Google and Microsoft flag your root domain as suspicious. The consequence? All of your future emails end up in the spam folder—including client invoices, proposals, and emails to your accountant.

The solution: Isolate your cold outreach traffic on a dedicated subdomain (e.g., out.yourcompany.com or mail.yourcompany.com).

The best part? If you already use Google Workspace and Cloudflare, this setup costs €0 extra. You don't need to buy a second mailbox; you can control the address via a verified alias right from your existing Gmail inbox or externally via an App Password.

Step 1: Register the Subdomain as a "Secondary Domain" in Google Workspace

Many people try to simply create a subdomain in DNS without telling Google. For Google Workspace to sign and receive emails for out.yourcompany.com, it must be officially registered.

  1. Open the Google Admin Console (admin.google.com).
  2. Navigate to Account > Domains > Manage domains.
  3. Click Add a domain.
  4. Enter your subdomain (e.g., out.yourcompany.com) and select Secondary domain as the domain type.
  5. Start the verification. Google will provide a TXT or CNAME record.

Pro tip: Double-check your domain name for typos! When using CNAME verification in Cloudflare, the orange cloud (Proxy) must be turned off (grey cloud / "DNS only"), otherwise verification will fail.

Step 2: Build the DNS Foundation in Cloudflare (MX, SPF & DMARC)

Key principle: A subdomain does not inherit email records from your root domain! Even if yourcompany.com is configured perfectly, out.yourcompany.com has zero reputation and cannot receive replies without its own DNS records.

Open your Cloudflare dashboard under DNS > Records and create the following three records for your subdomain:

1. The MX Record (So replies and verification emails arrive)

  • Type: MX
  • Name: out (only your subdomain prefix)
  • Mail server: smtp.google.com
  • Priority: 10

2. The SPF Record (Authorizes Google to send on behalf of the subdomain)

  • Type: TXT
  • Name: out
  • Content: v=spf1 include:_spf.google.com ~all

3. The DMARC Record (Anti-spoofing protection & required for high deliverability)

  • Type: TXT
  • Name: _dmarc.out
  • Content: v=DMARC1; p=none; rua=mailto:dmarc-reports@yourcompany.com

Next, return to the Google Admin Console and click Activate Gmail for your new subdomain.

Step 3: The Cryptographic Seal (Enable 2048-Bit DKIM for the Subdomain)

Without a valid DKIM signature, almost every modern cold email goes straight to spam. You need to generate a dedicated 2048-bit key in Google Workspace for the subdomain:

  1. In the Google Admin Console, go to Apps > Google Workspace > Gmail > Authenticate email.
  2. In the top dropdown menu, explicitly select your subdomain out.yourcompany.com.
  3. Click Generate new record.
  4. Copy the hostname and long key value into Cloudflare:
    • Type: TXT
    • Name: google._domainkey.out
    • Content: v=DKIM1; k=rsa; p=MIIBIjANBgkqh... (your generated key)
  5. Go back to Google Admin and click Start authentication. Once it shows "Authenticating email with DKIM", your subdomain is cryptographically bulletproof.

Step 4: Solve the "Verification Email Never Arrives" Trap in Gmail

Now you want to send emails from your normal Gmail inbox as outreach@out.yourcompany.com. However, if you go straight into Gmail under Settings > Accounts > Add another email address, you'll hit a classic trap:

Gmail says "We sent a verification link to outreach@out.yourcompany.com." That email never arrives because no mailbox or route exists for that address yet!

The Correct Order (The 60-Second Fix):

  1. Start in the Google Admin Console: Go to Directory > Users and click your own user profile.
  2. Click User information > Alternate email addresses (email alias).
  3. Enter outreach and select your subdomain @out.yourcompany.com in the dropdown next to it. Click Save.
  4. Now switch back to Gmail: Go to Settings > See all settings > Accounts > Add another email address.
  5. Enter your name and outreach@out.yourcompany.com and request the verification email. Because the address is now routed to your primary account as an official Workspace alias, the confirmation email lands instantly in your primary inbox.
  6. Click the confirmation link—done! You can now choose between your primary address and your outreach address in the From dropdown whenever composing an email.

Step 5: Automation via Python / API & Security Check

If you send outreach emails via a custom Python script or CRM, you have two options:

Option A: Directly via Google SMTP (Quick Start)

Connect to smtp.gmail.com (Port 587), authenticate with your primary email and a 16-character Google App Password, and set outreach@out.yourcompany.com in the From header.

  • Important security note: A Google App Password grants full read and write access to your entire primary mailbox! Never store it in plain text in your code. If your server could be exposed, create an isolated secondary user or use Option B.

Option B: Dedicated Email API (Resend, SendGrid, Amazon SES)

For higher volumes or server automation, configure your subdomain's DNS records (out.yourcompany.com) with a dedicated email API provider like Resend or Amazon SES. That way, you send via a scoped API key while your private Google Workspace mailbox remains 100% isolated.

Conclusion & Live Test for a 10/10 Score

Before launching your first campaign, visit mail-tester.com, copy the test address shown, and send an email from your new outreach@out.yourcompany.com address.

With clean subdomain SPF, 2048-bit DKIM, and DMARC in place, you'll immediately hit a 10/10 score—while keeping your main domain reputation completely protected.

Important: This setup is designed for moderate, high-quality B2B outreach of 10–20 personalized emails per day. For high-volume automated outreach, use dedicated secondary domains (e.g., get-yourcompany.com) and specialized warming infrastructure.

Request audit

Let’s talk.

Send me an email or book a no-obligation intro call directly.

The booking calendar is loaded via Calendly.

LOADING …