# multi-mail

> multi-mail is an MCP server for productivity. Search, draft and send across several Gmail accounts, plus calendar, using your own OAuth. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Platforms:** CLI, Self-hosted
- **Repository:** https://github.com/yybd/multi-mail-mcp
- **MCP Registry name:** io.github.yybd/multi-mail-mcp
- **Categories:** [productivity](https://ai-powered.com/categories/productivity), [communication](https://ai-powered.com/categories/communication)
- **Listing updated:** 2026-11-23

## About

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.

## Features

- **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

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add multi-mail-mcp -- npx -y @yybd/multi-mail-mcp
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/multi-mail-mcp"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/multi-mail-mcp"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```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.

### VS Code (~/.copilot/mcp-config.json)

```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.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add multi-mail-mcp -- npx -y @yybd/multi-mail-mcp
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.multi-mail-mcp]
command = "npx"
args = ["-y", "@yybd/multi-mail-mcp"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```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

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```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 (~/.config/devin/mcp_config.json)

```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 (cline_mcp_settings.json)

```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 (Zed settings.json)

```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 (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/multi-mail-mcp"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```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 (~/.kiro/settings/mcp.json)

```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.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/multi-mail-mcp"
      ]
    }
  }
}
```

## Tools

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_accounts` (name suggests: reads): Lists connected accounts and aliases.
- `search_emails` (name suggests: reads): Searches one or all mailboxes with Gmail syntax.
- `read_email` (name suggests: reads): Returns a full message.
- `read_thread` (name suggests: reads): Returns a whole conversation.
- `list_labels` (name suggests: reads): Lists a mailbox's labels.
- `create_draft` (name suggests: changes): Saves a new message or reply as a draft.
- `send_email` (name suggests: changes): Sends a message or reply.
- `list_drafts` (name suggests: reads): Lists pending drafts.
- `send_draft` (name suggests: changes): Sends a draft.
- `get_attachment` (name suggests: reads): Downloads one attachment.
- `modify_labels` (name suggests: changes): Adds or removes labels on messages or threads.
- `create_label` (name suggests: changes): Creates a label.
- `list_events` (name suggests: reads): Lists calendar events between two times.
- `find_free_time` (name suggests: reads): Finds free slots in working hours.
- `create_event` (name suggests: changes): Creates an event on your own calendar.
- `search` (name suggests: reads): Searches every mailbox in ChatGPT's expected shape.
- `fetch` (name suggests: reads): Fetches one message in ChatGPT's expected shape.

## 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.

## Alternatives

- [TrendRadar](https://ai-powered.com/mcp/trendradar): TrendRadar is an open-source MCP server for communication.
- [Ha MCP](https://ai-powered.com/mcp/ha-mcp): Ha MCP is an open-source MCP server for productivity.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [TryPost](https://ai-powered.com/mcp/trypost): TryPost is a paid MCP server for marketing and seo.
- [Open Sunsama](https://ai-powered.com/mcp/open-sunsama): Open Sunsama is an open-source MCP server for productivity.
- [Discord MCP](https://ai-powered.com/mcp/discord-mcp): Discord MCP is an open-source MCP server for communication.
- [Gmail MCP](https://ai-powered.com/mcp/gmail-mcp-3): Gmail MCP is an open-source MCP server for communication.
- [Dayfile.app](https://ai-powered.com/mcp/dayfile-app): Dayfile.app is an open-source MCP server for productivity.

---
Source: https://ai-powered.com/mcp/multi-mail-2
