Free Custom Domain Email
with Cloudflare + Gmail
Use contact@yourdomain.com with your existing Gmail inbox — no Google Workspace subscription needed.
INCOMING
OUTGOING
Before You Start
Configure Email Routing in Cloudflare
Open the Cloudflare dashboard and select your domain. Navigate to Email → Email Routing and click Enable Email Routing.
dash.cloudflare.comdevelopers.cloudflare.com/email-routing
Cloudflare automatically creates the required MX records:
Add your Gmail address as the forwarding destination. Cloudflare sends a verification email — open Gmail and confirm it.
Set up a routing rule to forward your custom address to Gmail.
Any email sent to contact@yourdomain.com will now arrive in your Gmail inbox.
Create a Google Account with Your Custom Email
Go to the Google account creation page and choose "Use my current email address instead". Enter your custom domain email.
accounts.google.com/signup
Google sends a verification code which arrives in your Gmail via Cloudflare forwarding.
Go to myaccount.google.com → Personal Info → Profile Picture and upload your image. This appears on emails you send.
Generate a Gmail App Password
Gmail SMTP requires an App Password (not your regular password).
myaccount.google.com/apppasswordsGoogle generates a 16-character password:
Add Custom Email in Gmail Send-As
In Gmail go to Settings → See all settings → Accounts and Import → Send mail as → Add another email address.
mail.google.com
| Field | Value |
|---|---|
| SMTP Server | smtp.gmail.com |
| Port | 587 |
| Username | yourgmail@gmail.com |
| Password | [App Password from Step 3] |
Gmail sends a verification email to your custom address. It arrives in Gmail via Cloudflare forwarding. Enter the code or click the confirmation link.
Test Sending Email
In Gmail, click Compose and use the From dropdown to select your custom domain address.
If configured correctly, the recipient sees contact@yourdomain.com as the sender.