If your domain already uses Cloudflare DNS, Cloudflare Email Routing lets you create unlimited receiving addresses (shopping@example.com, github@example.com, hi@example.com) and forward them to an existing inbox without running a mail server.
What it does (and doesn’t)
Email Routing is an inbound forwarding layer, not a mailbox or SMTP server. When you onboard a domain, Cloudflare adds the required MX, SPF, and DKIM records automatically. DNS propagation usually takes 5–15 minutes (up to 24 hours).
Replies sent from Gmail go out from your Gmail address, not your custom domain. If you need outbound mail from @example.com, pair this with an SMTP provider (e.g., Resend, Fastmail, or Gmail’s “Send mail as” SMTP).
Manual setup
- Open Compute → Email Service → Email Routing, click Onboard Domain, and pick your domain.
- Under Destination Addresses, add your target inbox and click the verification link Cloudflare sends.
- Under Routing Rules, create a custom address (e.g.,
work@example.com), choose Send to an email, and select the verified destination. - Test from a different account—sending from the same Gmail address that receives the forward often gets deduplicated by Gmail. Check Spam if the first test doesn’t show up.
Catch-all and subaddressing
Cloudflare allows up to 200 individual routing rules per domain. If you don’t want to maintain rules manually, enable the catch-all rule so any @example.com address forwards to your destination inbox. You can also enable subaddressing (me+shopping@example.com), which preserves the +tag for inbox filters or Email Workers.
Configuring it with an agent
If you have an agent connected to Cloudflare (see Cloudflare’s agent setup guides), you can delegate the DNS and routing setup with a prompt like:
Set up Cloudflare Email Routing for example.com.
Forward all incoming addresses to me@gmail.com using a catch-all rule.
Show me every DNS and routing change before applying it.
Do not remove or replace existing mail records without my approval.
You only have to click the destination verification email yourself. If the domain already uses another mail provider, inspect existing MX records before approving any DNS change.