Note

Custom Domain Email

This setup lets you use your custom domain email inside Gmail without paying for Google Workspace

TIL Mar 5, 2026
CloudflareGmail

Buy a Domain

Buy a domain from any registrar.

Example:

yourdomain.com

Connect the Domain to Cloudflare

Add your domain to Cloudflare.

Steps:

  • Add your domain
  • Select the Free plan
  • Change your domain nameservers to the ones Cloudflare provides
  • Wait for activation (usually a few minutes)

Enable Email Routing

In Cloudflare dashboard:

Email → Email Routing

Steps:

  1. Add your Gmail as a Destination Address
  2. Verify the email
  3. Create custom addresses like:
you@yourdomain.com
hello@yourdomain.com
support@yourdomain.com

(Optional) enable Catch-all to receive any address at your domain.

Now emails sent to your domain will arrive in your Gmail inbox.


Enable Domain Sending (Fixes Spam Issues)

To send emails properly from your domain, use an SMTP provider like Resend.

Steps:

  1. Create an account on Resend
  2. Add your domain
  3. Add the DNS records they provide in Cloudflare
  4. Wait until the domain is verified

This enables SPF, DKIM, and DMARC alignment, which prevents spam issues.


Connect Sending to Gmail

In Gmail:

Settings → Accounts & Import
Send mail as → Add another email address

Add your domain email:

you@yourdomain.com

Use the SMTP credentials provided by your sending provider.

After verification, Gmail can send emails using your domain address.


Test Your Setup

Send a test email.

You should see:

SPF: PASS
DKIM: PASS
DMARC: PASS

Final Result

You can now:

  • Receive emails at you@yourdomain.com
  • Send emails from you@yourdomain.com
  • Manage everything inside Gmail
  • Avoid paying for Google Workspace

Share

Copy the canonical URL or share it directly.