multi-mail
Search, draft and send across several Gmail accounts, plus calendar, using your own OAuth
multi-mail is an MCP server for productivity. It runs locally on your machine and is started by your AI client.
- Platforms
- CLI, Self-hosted
- Runs
- Locally
- What it can do
- Can change data (6 tools)
- Can
- send email
- Version
- 0.2.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add multi-mail-mcp -- npx -y @yybd/multi-mail-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"multi-mail-mcp": {
"command": "npx",
"args": [
"-y",
"@yybd/multi-mail-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"multi-mail-mcp": {
"command": "npx",
"args": [
"-y",
"@yybd/multi-mail-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"multi-mail-mcp": {
"command": "npx",
"args": [
"-y",
"@yybd/multi-mail-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"multi-mail-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@yybd/multi-mail-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add multi-mail-mcp -- npx -y @yybd/multi-mail-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.multi-mail-mcp]
command = "npx"
args = ["-y", "@yybd/multi-mail-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"multi-mail-mcp": {
"command": "npx",
"args": [
"-y",
"@yybd/multi-mail-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }Or run: gemini mcp add -s user multi-mail-mcp npx -- -y @yybd/multi-mail-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "multi-mail-mcp": { "command": "npx", "args": [ "-y", "@yybd/multi-mail-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
Configuration
MULTI_MAIL_DEFAULTAccount used when a tool call names none (email or alias)MULTI_MAIL_HOMEFolder holding credentials.json and account tokens (default ~/.multi-mail)MULTI_MAIL_SENDSet to off for drafts-only mode: no tool can send mailMULTI_MAIL_TZIANA time zone for calendar tools, overriding each calendar's own setting
About multi-mail
Each user supplies their own Google OAuth client, so no Google app verification is needed and mail goes only between your machine and Google. That is the project's main argument against hosted brokers and the built-in connectors, which the README compares in a table.
It runs over stdio for Claude Desktop and Claude Code, or over Streamable HTTP with a token for ChatGPT. Searches can cover one mailbox or all of them. By default it asks Google for read and compose access only, so it cannot delete mail, trash it or change settings. Labels and Calendar are opt-in per account, and calendar tools can read events, find free time and create events on your own calendar without inviting anyone.
A drafts-only mode, set with a flag or MULTI_MAIL_SEND=off, removes the send tools entirely, which the README recommends for automated triage where incoming mail might carry hostile instructions.
Tools this server provides (17)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 6 of 17 tools change data.
From the server's own tool labels and tool names; not verified by us.
- list_accountsName suggests: reads
- Lists connected accounts and aliases.
- search_emailsName suggests: reads
- Searches one or all mailboxes with Gmail syntax.
- read_emailName suggests: reads
- Returns a full message.
- read_threadName suggests: reads
- Returns a whole conversation.
- list_labelsName suggests: reads
- Lists a mailbox's labels.
- create_draftName suggests: changes
- Saves a new message or reply as a draft.
- send_emailName suggests: changes
- Sends a message or reply.
- list_draftsName suggests: reads
- Lists pending drafts.
- send_draftName suggests: changes
- Sends a draft.
- get_attachmentName suggests: reads
- Downloads one attachment.
- modify_labelsName suggests: changes
- Adds or removes labels on messages or threads.
- create_labelName suggests: changes
- Creates a label.
- list_eventsName suggests: reads
- Lists calendar events between two times.
- find_free_timeName suggests: reads
- Finds free slots in working hours.
- create_eventName suggests: changes
- Creates an event on your own calendar.
- searchName suggests: reads
- Searches every mailbox in ChatGPT's expected shape.
- fetchName suggests: reads
- Fetches one message in ChatGPT's expected shape.
What it does
- Several accounts
- Address accounts by email or alias, or search all at once.
- Drafts-only mode
- Send tools are not registered at all.
- Narrow permissions
- Read and compose by default; no delete or trash.
- Opt-in labels
- Add, remove and create labels per account.
- Opt-in calendar
- List events, find free time and create events.
- Attachments
- Text and PDFs return as text; images as images.
Good for
- Search every inbox for an invoice
- Draft a threaded reply without sending
- Find a free slot across several calendars
- Triage mail with no ability to send
multi-mail FAQ
Do I need my own Google OAuth client?
Yes. That avoids Google verification and third-party routing.
Can multi-mail delete email?
No. The server has no trash or delete tool.
Does multi-mail work with ChatGPT?
Yes, through the Streamable HTTP transport with a token.
How do I prevent sending?
Use --drafts-only or MULTI_MAIL_SEND=off.
How do I add multi-mail to Claude Code?
Run this command in your terminal: claude mcp add multi-mail-mcp -- npx -y @yybd/multi-mail-mcp
What are the best alternatives to multi-mail?
The closest alternatives to multi-mail are TrendRadar, Ha MCP, Concord MCP, TryPost and Open Sunsama.
Where this comes from
- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

