Skip to content

Send as your Cloudflare Email Routing address from Gmail

Cloudflare Email Routing only forwards mail. Pair it with an email API provider (Resend, Postmark, Mailgun, SendGrid) used directly from the extension, or with an SMTP provider through your own relay.

Last updated December 1, 2026

Cloudflare Email Routing receives and forwards mail; it has no mailbox and no SMTP server. (Cloudflare’s docs: it “processes incoming emails with Workers or forwards them to destination addresses.”) Cloudflare Email Routing and ImprovMX’s free plan only forward inbound mail; neither sends. That is why Gmail’s “Send mail as” was the missing half. After Google removes it, you need an outbound provider to send as you@yourbiz.com. SendAs Bridge works with it in two ways:

  • Direct send (simplest): use Resend, Postmark, SendGrid or Mailgun. You paste an API key into the extension and the browser sends straight to the provider’s HTTPS API. No relay needed.
  • Via your own relay: use an SMTP provider such as Brevo, Amazon SES or Fastmail. Deploy the open-source relay to your own Cloudflare account and the extension sends through it.

Cloudflare also has its own email sending service. It is a separate product and, at the time of writing, in beta. SendAs Bridge support for it is planned, not available yet.

What you need

  • A domain on Cloudflare DNS with Email Routing forwarding you@yourbiz.com to your Gmail.
  • An account at an outbound provider (below). Most have a free or low-cost tier.
  • The SendAs Bridge extension.

1. Keep incoming mail forwarding

In the Cloudflare dashboard open your domain → Email → Email Routing and create a custom address you@yourbiz.com that forwards to your Gmail (confirm the destination address when Cloudflare emails it). This is what you have today; leave it as it is.

2. Pick an outbound provider

Create an account, add and verify your domain (step 3 covers the DNS records), and create credentials. Hosts and ports change, so confirm in the provider’s docs.

Direct send from the extension (paste an API key):

Provider What to create
Resend An API key with sending access, and a verified domain
Postmark A server API token, and a verified sender signature or domain
SendGrid An API key with Mail Send permission, and domain authentication
Mailgun An API key and a verified sending domain

Through your own relay (SMTP):

Provider SMTP_HOST Port / SMTP_SECURITY SMTP_USER / SMTP_PASS
Brevo smtp-relay.brevo.com 587 / starttls Your SMTP login and an SMTP key
Amazon SES email-smtp.<region>.amazonaws.com 465 / tls or 587 / starttls SMTP credentials created in SES (not your AWS keys)
Fastmail smtp.fastmail.com 465 / tls Your address and an app password

Ports 465, 587, 2465 and 2525 work; port 25 doesn’t. A new SES account starts in a sandbox that can only send to verified addresses until you request production access. The From address (you@yourbiz.com) must be allowed by the provider, which usually means verifying the domain there.

Then follow the setup guide: add the address in the extension, choose the provider (or Own relay), and press Test connection.

3. Add the provider’s DNS records in Cloudflare

Open the domain’s DNS → Records.

  • SPF. Email Routing already publishes a TXT record like v=spf1 include:_spf.mx.cloudflare.net ~all. A domain may have only one SPF record (with two, receivers return a permanent error and Routing breaks too), so edit it and merge your provider’s include, for example v=spf1 include:_spf.mx.cloudflare.net include:spf.brevo.com ~all (use the include your provider documents). Don’t create a second record, and keep the total at 10 DNS lookups or fewer; if you go over, remove includes you don’t use.
  • DKIM. Your provider gives you CNAME or TXT records. Add them exactly as shown. Set CNAME records to DNS only (grey cloud), not proxied.
  • DMARC. Add a TXT record at _dmarc such as v=DMARC1; p=none; rua=mailto:you@yourbiz.com (Google also recommends starting at none and always including rua), and move to p=quarantine once SPF and DKIM pass.

The extension’s DNS check looks up all three from your browser and, if it can’t find your DKIM selector, lets you enter it.

After setup, send a test to an unaffiliated Gmail address and open Show original: SPF, DKIM and DMARC should all say PASS.

4. File the copy in Gmail

The extension also BCCs each message to your Gmail address so a copy exists in Gmail. Create the one-time Gmail filter: From you@yourbiz.com → Skip the Inbox, Mark as read, Apply the label Sent as you@yourbiz.com. No Google permission is needed.

Want a real Sent Mail copy instead? Your relay can add it over IMAP with a Gmail app password (needs 2-Step Verification; see the relay docs).

Keep your existing Gmail Send mail as entry until this works, and don’t keep smtp.gmail.com as the SMTP behind it after January. More: Cloudflare Email Routing guide, free providers compared, SMTP presets.

Common errors

Message Likely cause and fix
Invalid API key / 401 or 403 The key is wrong, revoked or lacks send permission. Create a new one.
Sender not verified / domain not verified The provider hasn’t verified yourbiz.com (or that address). Finish its DNS records.
SPF fail or “may not cover” warning Merge the provider’s include into your single SPF record in Cloudflare DNS.
DKIM not found Add the provider’s DKIM records (CNAMEs as DNS only), or enter your selector in the check.
Unauthorized (relay) The relay secret in the extension doesn’t match RELAY_SECRET on your Worker.