Skip to main content

Command Palette

Search for a command to run...

Custom Domains, Gmail, and AI Integration

Updated
4 min read
Custom Domains, Gmail, and AI Integration

For many years, I paid for Google Workspace. Not because I loved it, but because I needed a custom domain and Google email was the least painful option.

Over time, though, the unexplainable quirks between the paid “work” experience and all the consumer features tied to my smart home became increasingly frustrating. Eventually, I gave up and moved my day-to-day life to a personal Gmail account.

That left one awkward problem.

What do Ido with a personal domain I’ve used exclusively for more than 25 years?

For most of 2025, my answer was Fastmail. And honestly, Fastmail is great. It’s reliable, privacy-focused, and refreshingly boring in all the right ways.

Then late 2025 happened, and suddenly the bar moved.


The Missing Piece: Intelligence

What Fastmail lacked for me wasn’t reliability or traditional features. It was intelligence.

Fastmail does email extremely well. What it doesn’t have is the deep, native AI integration Google has embedded directly into Gmail. One-click thread summaries. Context-aware draft replies. Email that actually understands my calendar and documents instead of pretending they live in separate universes.

The obvious answer was Google Workspace.

The obvious problem was my custom domain.


The Return of Gmail + Forwarding

So I revisited the old “Gmail plus email forwarding” approach. This time, though, something had changed.

Thanks to Cloudflare’s new one-click email routing setup, what used to feel like a clever workaround finally crossed the line into “set it and forget it.”

The result is a professional, AI-powered email stack that costs exactly $0 per month.


Why I Did This: The Gemini Factor

By routing my custom domain into a personal Gmail account, I get Gmail’s full AI feature set without paying for Workspace, while keeping my personal domain exactly where it belongs.

Here’s what I gain:

Native Summarization

I can summarize massive email threads with a single click. No extensions. No copy-paste gymnastics.

Contextual Drafting

Gemini understands the full conversation history and drafts replies that actually make sense.

Cross-App Intelligence

I can ask Gemini to find a document in Drive or check my calendar availability without leaving my inbox.

This isn’t AI sprinkled on top. It’s deeply integrated and genuinely useful.


The Setup Guide

The process has three phases:

  1. Direct incoming mail to Gmail (Cloudflare)

  2. Enable outgoing mail via Google (account security)

  3. Set defaults inside Gmail

Once it’s done, I don’t think about it again.


Phase 1: Cloudflare Email Routing

The One-Click DNS Setup

Because my domain already uses Cloudflare DNS, this part was refreshingly painless.

Enable Routing

I logged into Cloudflare, selected my domain, and navigated to Email → Email Routing.

Set a Destination Address

I clicked Get Started and entered the Gmail address I wanted to receive mail at
(for example, your.name@gmail.com).
Cloudflare sent a verification email, which I confirmed.

Create My Custom Address

I added the address I wanted to use, such as contact@yourdomain.com.

The Magic Button

Cloudflare showed a warning that DNS records were missing.
I clicked Add records and enable.

Cloudflare automatically wrote the required MX and SPF records. No manual copying. No guessing. No late-night DNS regret.


Phase 2: Google Account Security

To send mail through Gmail’s SMTP servers using my custom domain, I needed an App Password. My normal Google password would not work.

I did the following:

  • Went to Manage my Google Account → Security

  • Confirmed 2-Step Verification was enabled

  • Searched for App Passwords

  • Created a new password named Cloudflare SMTP

  • Copied the 16-character code

I needed that code for the next step.


Phase 3: Configure Gmail “Send Mail As”

This is what makes the whole setup feel seamless.

  • I opened Gmail on the web

  • Went to Settings → See all settings → Accounts and Import

  • Under Send mail as, clicked Add another email address

Entering the Details

That last checkbox matters. Leaving it unchecked ensures recipients see my custom domain as the sender, not “on behalf of gmail.com.”

SMTP Settings

After clicking Add Account, Google sent a confirmation email to my custom address. Cloudflare immediately forwarded it to my Gmail inbox. I confirmed it, and that was it.


The Verdict

Once everything was configured:

  • Incoming mail hit Cloudflare’s edge network and arrived instantly

  • Outgoing mail went through Google’s high-reputation SMTP servers and avoided spam folders

  • Gmail’s full Gemini feature set worked exactly as intended

I ended up with the professional polish of a custom domain and the most advanced consumer email AI available today, without paying for Google Workspace.

It’s boring.
It’s reliable.
It’s powerful.

Which is exactly what I want my email to be.

More from this blog

B

Brian Olson – Real Security, Real Talk

31 posts

Cybersecurity expert specializing in DFIR and network security. I blog real-world, practical security and finance tips—no jargon, just what works for me, hoping it helps you stay safe and successful.