How to connect multiple Gmail accounts to Claude
Claude's built-in Gmail connector works with one Google account at a time. Here is how to search, read and draft across several Gmail and Google Workspace mailboxes from one Claude chat.
Updated 2026-12-03
If you have a work inbox, a personal inbox and maybe a shared support@ address, you have probably
noticed that Claude’s Gmail connector only sees one of them at a time. Switching accounts means
disconnecting and reconnecting, and a search in the wrong mailbox looks exactly like “no such email”.
This guide explains why, what your options are, and how to set up one connector that covers all of your mailboxes.
Why Claude only sees one Gmail account
A connector signs in to one Google account and holds one set of tokens. Claude’s built-in Gmail connector works this way, so it can only search the mailbox you connected. Anthropic’s docs also describe it as read-only, so it can’t draft or send.
The common workarounds all have a catch:
- Disconnecting and reconnecting is slow, and you lose the thread of what you were doing.
- Forwarding everything into one inbox misses older mail and sent mail, and replies go out from the wrong address.
- Hosted aggregators work, but a third party then holds standing access to all your mail.
The approach: one MCP server, many mailboxes
Claude can connect to remote MCP servers, small web services that give it extra tools. Surfski is an open-source one built for exactly this problem:
- You add Surfski to Claude once, as a custom connector, and sign in with Google. That proves which Claude user you are.
- You then link each mailbox under a short alias such as
work,personalorsupport. Each link is a separate Google sign-in as that mailbox. - Claude can now search one mailbox by alias, or all of them at once with
search_all_accounts, and every result says which mailbox it came from.
Those are two separate Google sign-ins on purpose. The first answers “who is asking?”, and the second answers “which mailboxes has this person allowed?”. The overview explains both layers.
Set it up
You need a Linux host with Docker, a domain name, and a TLS reverse proxy such as Caddy or nginx. Then:
- Create a Google Cloud project with the Gmail API, an OAuth client and a published consent screen. Publishing matters: in Testing mode, Google expires your tokens every 7 days. See why Gmail keeps asking you to sign in again.
- Configure and start the container, then put it behind your reverse proxy.
- Add the connector in Claude: Settings → Connectors → Add custom connector, with the URL
https://<your-host>/mcp. On a Claude Team or Enterprise plan, an Owner or Primary Owner first adds the connector under Organization settings → Connectors; each member then clicks Connect on it in their own settings. - Link your mailboxes. Tell Claude “link my work Gmail as work”, open the link it returns, and sign in as that mailbox. Tick both permission checkboxes, then repeat for each inbox.
The quickstart has every command. If you’d rather be walked through it, copy the AI setup prompt into Claude or another assistant, and it will guide you one step at a time, running the commands for you where it can.
What you can ask once it works
- “Find anything from Acme in any of my inboxes this month.”
- “Did the accountant reply to either my work or personal address?”
- “Summarize unread mail in support@ since Friday.”
- “Draft a reply to the last email from Jo, from my work address.”
Drafts land in the right mailbox’s Drafts folder, so you can review them in Gmail before sending.
Is this safe?
Surfski runs on your server with your Google OAuth client, so your tokens never leave it. Refresh tokens are encrypted at rest, and logs never contain tokens or message bodies. People who share a server never see each other’s mailboxes. Sending is off by default, and when you turn it on you can require your approval for every email. The security notes cover the details.
Frequently asked questions
- Can Claude's built-in Gmail connector use more than one account?
- Anthropic's Gmail connector docs describe connecting one Google account, and the connector is read-only. Surfski lets you link as many Gmail and Google Workspace mailboxes as you need, on any plan and in any region, and it can also draft (and, if the operator turns it on, send) from the right address.
- Do I need my own server?
- For Surfski today, yes. You run it on a small Linux host with Docker behind a TLS reverse proxy. A hosted version is planned but not open yet.
- Can people who share one Surfski server see each other's email?
- No. Each Claude user signs in with Google, and every query is scoped to that user. People sharing a server only ever see the mailboxes they linked themselves.
- Can Claude send email from these mailboxes?
- By default Claude only saves drafts, and you send them from Gmail. The operator can turn on opt-in sending, and each mailbox then chooses off, confirm (you approve each email) or auto.
- My Claude is on a Team or Enterprise plan. What changes?
- An Owner or Primary Owner first adds Surfski as a custom connector in Organization settings → Connectors. Each member then connects it from their own Settings → Connectors and signs in with their own Google account, so everyone still sees only their own mailboxes.