Why Connect Cloudflare Email?
One Unified Inbox
Reply by Email
API-Native
Two Inbound Paths
Prerequisites
- A Cloudflare account with your domain on it.
- A Cloudflare API token with Email Sending permission — steps below.
- Your Cloudflare account ID — steps below.
- A from-address on a domain onboarded to Cloudflare Email Sending — e.g.
support@yourdomain.com. Cloudflare Email Sending must be enabled for the domain that owns the address. - Email Routing enabled on your domain (Email → Email Routing) for inbound delivery.
Getting your API token
Open API Tokens
Create a Custom Token
bubblav-email.Set permissions
Scope and create
Copy the token
Getting your account ID
Your account ID is a 32-character hex string. Two easy ways to find it:- Overview page: click any domain in the dashboard — the account ID is in the right-hand sidebar under the API section, next to Zone ID.
- URL: open any domain — the address bar shows
https://dash.cloudflare.com/<account-id>/<zone-id>; the first ID is your account ID.
Setup Steps
Open the Cloudflare Email integration
Enter your credentials
support@yourdomain.com.Connect
cf-xxxxxxxx@inbound.bubblav.se.Set up inbound delivery
Inbound — Option A: forward to your BubblaV address (recommended)
The configure page shows a unique inbound addresscf-<token>@inbound.bubblav.se. Point your Cloudflare Email Routing at it:
Add the destination address first
cf-<token>@inbound.bubblav.se address. Until it’s added and verified, it won’t appear in the routing-rule dropdown.Wait for the verification email
cf-<token> address — and because that address is hosted by BubblaV, the verification email lands in your BubblaV inbox as a normal conversation.Click the link in the ticket
no-reply@cloudflare.com with a subject about address verification) and click the verification link. The destination address now shows Verified.Create the routing rule
support@, or a catch-all) with action Forward to → select your now-verified cf-<token>@inbound.bubblav.se from the destination dropdown → save. Real mail starts flowing into the inbox.Inbound — Option B: self-hosted Email Worker (advanced)
If you’d rather keep inbound traffic entirely inside your own Cloudflare account, deploy the small ingest worker on your domain:Deploy the worker
bubblav-org/cloudflare-email-worker), then set the BUBBLAV_TOKEN secret to the token shown on your configure page: npx wrangler secret put BUBBLAV_TOKEN.Route mail to it
Done
Recipient filter
Use the Allowed addresses list (in the connect dialog, or later on the configure page) to ingest only mail sent to addresses you list — e.g.support@yourdomain.com — and keep noreply@ notifications out. Blank = accept mail addressed to any address on your domain (the default). The Ignored Senders blocklist still applies on top.
Managing Your Integration
- New mail arrives shortly after delivery to your routed address and appears as a conversation in Live Support, tagged with a Cloudflare Email badge.
- Reply from the conversation view — your reply is sent through the Cloudflare Email Sending API from your connected address and threaded under the customer’s original email.
- Auto-reply, signature, and filters: the configure page exposes the same email settings — enable AI auto-replies, set a reply signature, manage allowed addresses and ignored senders.
- Change credentials: disconnect and reconnect with the new details — your inbound
cf-<token>address stays the same, so your routing rule never breaks. - Disconnect from the integration’s configure page. Nothing remote is removed — delete the Cloudflare routing rule yourself when you’re done.
How Replies Are Threaded
Each reply includes the correctIn-Reply-To, References, and Re: subject headers so it lands inside the customer’s existing email conversation in Gmail, Outlook, Apple Mail, and other clients — rather than starting a new thread.
Draft a Reply with Copilot on Email
You don’t have to write every reply from scratch. On any email conversation in the unified inbox, click Draft reply with Copilot and BubblaV writes a complete draft straight into your composer.Open the email conversation
Click Draft reply with Copilot
Review and personalize
Send
Troubleshooting
Connect says my Cloudflare credentials are invalid
Connect says my Cloudflare credentials are invalid
The routing rule is created but mail never arrives
The routing rule is created but mail never arrives
cf-<token> destination is verified. The verification email lands as a conversation in your BubblaV inbox. If it didn’t, resend it from the destination-address screen in Cloudflare.Mail arrives for some addresses but not others
Mail arrives for some addresses but not others
Replies fail with a sender-verification error
Replies fail with a sender-verification error
Replies aren't threading in the customer's mail client
Replies aren't threading in the customer's mail client
In-Reply-To and References headers carried from the inbound email. If a conversation was started manually rather than from an inbound email, the first reply starts a new thread by design.