WCMS - How to Set Up a Professional Domain Email with Cloudflare and Gmail
A step-by-step guide to send and receive emails using your own domain name — completely free through Gmail
What You Will Need
-
A domain name managed on Cloudflare
- A Gmail account
- Email hosting credentials from your hosting provider (POP3/SMTP server, username, password)
Part 1: Set Up Email Routing in Cloudflare
So emails sent to your domain get forwarded to your Gmail
Step 1 — Log in to your Cloudflare account and select your domain
Step 2 — In the left sidebar, click Email then Email Routing
Step 3 — Click Create Address and fill in:
- Custom address (e.g. info, support, sales)
- Action: Send to an email
- Destination: Your personal Gmail address
Step 4 — Click Save
Step 5 — Open your Gmail and click the verification link sent by Cloudflare to activate the route
Part 2: Set Up Gmail to Receive Domain Emails
So Gmail automatically pulls in emails from your domain
Step 1 — Open Gmail and click the Settings gear icon → See all settings
Step 2 — Go to the Accounts and Import tab
Step 3 — Under Check mail from other accounts, click Add a mail account
Step 4 — Enter your domain email address and click Next
Step 5 — Select Import emails from my other account (POP3) and click Next
Step 6 — Fill in the following details from your hosting provider:
| Field | What to Enter |
|---|---|
| POP3 Server | Provided by your hosting provider |
| Port | Provided by your hosting provider |
| Username | Your full domain email address |
| Password | Your domain email password |
Step 7 — Enable these options:
- Leave a copy of retrieved messages on the server
- Always use a secure SSL connection
Step 8 — Click Add Account
Part 3: Set Up Gmail to Send From Your Domain
So you can compose and reply using your domain email inside Gmail
Step 1 — Still in Accounts and Import, find Send mail as
Step 2 — Click Add another email address
Step 3 — Enter your name and domain email address → click Next Step
Step 4 — Fill in the SMTP details from your hosting provider:
| Field | What to Enter |
|---|---|
| SMTP Server | Provided by your hosting provider |
| Port | Provided by your hosting provider |
| Username | Your full domain email address |
| Password | Your domain email password |
| Security | TLS (Recommended) |
Step 5 — Click Add Account
Step 6 — A confirmation code will be sent to your domain email — enter it in Gmail to verify
Part 4: How It All Works Together
Receiving an email:
Sender → Your domain email
→ Cloudflare routes it → Your Gmail inbox
→ Gmail also fetches it via POP3
Sending an email:
Gmail Compose → Click "From" dropdown
→ Select your domain email
→ Sent via SMTP → Recipient sees your domain address
Benefits of This Setup
| Benefit | Detail |
|---|---|
| Free | No paid email hosting required |
| Professional | Emails display your domain name |
| Convenient | Manage all emails inside Gmail |
| Secure | TLS and SSL encryption enabled |
| Reliable | Powered by Cloudflare infrastructure |
Troubleshooting Tips
- Verification email not received — Check your spam folder or resend from Cloudflare
- POP3/SMTP not connecting — Double check server address and port with your hosting provider
- Emails not arriving — Make sure Cloudflare MX records are correctly configured
- Cannot send from domain — Ensure the confirmation code step was completed in Gmail
- Tip: Once set up, you can manage multiple domain email addresses the same way — simply repeat Parts 2 and 3 for each address.