Skip to content

How Send As Works: A Gmail From Picker, No Middleman

How does Send As work? A walk through the compose window, the From picker, the three send paths and the BCC copy, and what runs where in your browser.

S

The Send As Team

4 min read

Send As is a browser extension that adds a From picker to Gmail’s compose window. When you send with one of your own addresses selected, the extension intercepts Gmail’s Send, builds the email itself and delivers it through a provider or relay that you chose. Gmail’s servers never send that message.

This page walks through what happens, step by step, for readers who want to know what they are installing. The background is Google’s notice that “Send as” for non-Google addresses ends in January 2027; our timeline post covers the dates.

What runs where

There are three parts. Only the first is always present.

Part Where it runs Job
Content script The Gmail tab in your browser Adds the From picker, reads the compose window, intercepts Send
Background worker Your browser Holds the vault, builds the message, sends it
Relay (optional) Your Cloudflare account, or the hosted Send As relay Turns an HTTPS request into SMTP for hosts that only offer SMTP

Everything else is your own provider. There is no Send As account system in the manual routes, and the extension contains no telemetry.

How does the From picker get into Gmail?

Gmail has no official extension API for compose. So the content script looks at the page: it finds each compose, reply and forward window and inserts a small From bar. It prefers semantic hooks in Gmail’s markup and falls back to ordered alternatives.

All of that knowledge of Gmail’s markup lives in one small module, kept separate from the rest of the extension so a fix touches one place. For replies, the picker preselects the address the conversation was originally sent to.

The content script also reads the Gmail account you are signed in as, only to pre-fill the settings page when you add an address.

What happens when you press Send?

  1. You pick an address in the From bar. If you leave it on your normal Gmail address, the extension does nothing and Gmail sends as usual.
  2. You click Send or press Ctrl/Cmd+Enter. The extension catches the event before Gmail does and blocks Gmail’s own send. A script-made click is ignored; only a real click or key press from you counts. See how Send As protects your passwords.
  3. The content script reads the draft from the compose window: recipients, subject, body and any files you added with the extension’s Attach files button.
  4. It asks the background worker to send. Each attempt carries a unique ID, so a double click or a retry returns the first result instead of sending twice.
  5. The worker builds the email (HTML with a plain-text alternative), unlocks the key from the vault, and sends it by one of the paths below.
  6. Gmail’s compose window closes on success. On failure it stays open with the draft intact, so nothing is lost.

The three send paths

Path Message travels Needs
Provider API Browser, then your provider’s HTTPS API (Resend, Postmark, SendGrid, Mailgun) Your API key and a verified domain
Your own relay Browser, then your relay Worker, then your SMTP server A free Cloudflare account and your SMTP login
Hosted Send As relay Browser, then our relay, then an email provider Google sign-in and, once billing is live, a subscription

The first two never touch a server we run. The third is the one exception: if you choose it, the message passes through our relay to be delivered, and the relay stores accounts, verified domains and subscription state but never message content or logs. Hosted relay vs manual setup compares them, and the hosted docs and manual guide give the steps. For the relay itself, see the relay docs.

How does the copy get back into Gmail?

Because the message left through your provider, Gmail has no record of it. By default Send As adds your own Gmail address as a BCC. A copy arrives in your inbox like any other mail, and a one-time filter you create (steps) labels it, marks it read and skips the inbox. If someone replies, the thread continues in Gmail.

Two honest caveats. The copy lands under a label, not in Gmail’s system Sent folder. And with some providers the BCC counts as one more recipient against your quota. The alternatives are in the Sent copy guide.

What if Gmail changes its page?

Then the picker may break. Each required anchor is checked, and when one is missing the extension fails open: no picker, Gmail’s Send untouched, and the popup says Gmail’s layout changed. You lose the feature until an update ships, but you never lose the ability to send. Updates depend on how you installed; the extension isn’t in the Chrome or Firefox stores yet, so you install it from GitHub.

What it does not do

It requests the storage permission and mail.google.com up front, and asks for your provider’s website one origin at a time. It does not use the Gmail API, and it does not read your inbox. Limits such as mobile and attachments are listed on the limits page.

What does it never touch?

The extension does not read your inbox, does not call the Gmail API and carries no analytics. DNS lookups for the SPF, DKIM and DMARC check go to a public DNS-over-HTTPS resolver from your browser, and the only other requests are to the provider or relay you chose. For why we skip the Gmail API, see why Send As does not use it.

Because the extension replaces Gmail’s send path only when you pick one of your own addresses, your normal Gmail sending is untouched.

What to do next

If you want to try it, follow the setup guide or install the extension. If you want to check our claims, the code is open source, and your browser’s network tab shows every request the extension makes.

Frequently asked questions

How does the Send As extension send email from another address?

It adds a From picker to Gmail's compose window. When you press Send with one of your addresses selected, the extension stops Gmail's own send and delivers the message itself, through your provider's API, your own relay, or the optional hosted Send As relay.

Does Send As use the Gmail API?

No. It requests no Gmail scopes and never calls the Gmail API. It works on the compose window in your browser tab, which is why a Gmail layout change can break it, and why it steps aside instead of guessing when that happens.

Where does my message go when I send with Send As?

It goes from your browser to the service you chose: your provider's API, your own relay Worker, or, only if you pick it, the hosted Send As relay. With the first two, no Send As server is involved at all.

Does Send As keep a copy of what I send in Gmail?

By default it BCCs your own Gmail address, and a one-time Gmail filter files that copy under a label. Saving into the real Sent folder over IMAP is optional and needs your own relay plus a Gmail app password.

Keep reading