Multi Mail MCP logo

Multi Mail MCP

by yybd

Manage multiple Gmail accounts with search, threaded reading, drafts, sending, labels, attachments, and optional Calendar tools.

Install Multi Mail MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "yybd-multi-mail-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@yybd/multi-mail-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 14 tools correctly ().

Overview

yybd/multi-mail-mcp connects multiple Gmail accounts to MCP clients through local stdio or token-protected Streamable HTTP. It searches individual or all mailboxes, reads messages and threads, manages drafts, and sends new or threaded replies using each user's Google OAuth client. Optional account-level permissions add labels and Google Calendar access. Reach for it when an agent needs to work across several personal or organizational Gmail accounts without routing mail through a third-party service.

Use cases

  • Search several Gmail accounts for related messages
  • Read a conversation and prepare a threaded reply
  • Create drafts for automated mail triage
  • Find shared free time across multiple Google Calendars
  • Apply labels and archive messages in enabled accounts

Key features

  • Multi-account Gmail search with aliases
  • Thread and message reading with attachment handling
  • Draft creation and threaded sending
  • Optional label management
  • Optional multi-calendar availability and event creation
  • Stdio and token-protected Streamable HTTP transports

Tools14

What Multi Mail MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

What it can do

From the 14 tools this server returned when we ran it; 14 declare their own safety hints.

Can delete or modify data · 1Makes network requests · 6Read-only tools · 13
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age16 days
Maintainers1

Observed 2026-11-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · @yybd/multi-mail-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.3kPackage downloads in the last 30 days.
Last commit19d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed14Callable tools this server registers over MCP.

How Multi Mail MCP works

What yybd/multi-mail-mcp does

yybd/multi-mail-mcp exposes Gmail and optional Google Calendar operations through the Model Context Protocol. Multiple accounts can be connected to one server and addressed by full email address, alias, or the portion before the @; searches can also target every connected mailbox with account="all".

Mail capabilities include Gmail-syntax searches, complete message retrieval, conversation reading, label and folder listing, draft creation, immediate sending, and draft listing or sending. Replies can preserve the original thread and recipient details, with an option to reply to all original recipients. Attachments are returned according to type: text and PDF content is extracted as text, images are returned as images, and other files are saved under ~/.multi-mail/attachments.

Optional label access supports adding and removing labels, marking messages read or unread, archiving, and starring. Nested labels such as Projects/Acme can be created. Calendar-enabled accounts add event listing, free-time searches across visible calendars, and creation of events on the user's own calendar without invitations or outgoing email.

How it works

The package uses the Gmail API and each user supplies their own Google OAuth client. Mail traffic goes between the local machine and Google. Default Gmail permissions are gmail.readonly and gmail.compose, so the server can read mail and compose messages but cannot delete mail, move it to trash, or change account settings.

Each account can independently enable labels with --labels or Calendar access with --calendar. Calendar access adds read-only calendar and event permissions; the server does not edit or delete existing events. Calendar times use each calendar's configured time zone, with MULTI_MAIL_TZ or a tool-level time_zone available when correction is needed.

The --drafts-only option, or MULTI_MAIL_SEND=off, removes sending tools entirely. Agents can still search, read, and create drafts, while a person sends them from Gmail. This mode is suited to automated triage and other workflows where messages should not be sent without approval.

Setup and configuration

Node.js 20 or newer is required. The published package can be run with npx, so a separate installation is not needed. Use the stdio entry point for local clients such as Claude Desktop and Claude Code. Streamable HTTP is available for clients that connect by URL, including ChatGPT; HTTP requires a token before the server starts.

A default mailbox can be selected with MULTI_MAIL_DEFAULT. Use an account address, alias, or local-part when selecting a mailbox in a tool. Start with --drafts-only when outbound sending should be unavailable.

Tools and capabilities

  • Inspect connected accounts, aliases, labels, drafts, messages, threads, and attachments.
  • Search one mailbox or all connected mailboxes using Gmail query syntax.
  • Create new drafts, prepare threaded replies, send messages, and send selected drafts.
  • Apply or remove labels, archive or star messages, and mark them read or unread when label access is enabled.
  • List events and find free periods across enabled calendars.
  • Create personal calendar events without inviting attendees.
  • Use the search capability to search across mailboxes and fetch one message in the format expected by ChatGPT connectors and deep research.

Limitations and notes

The server has no delete, trash, spam, mailbox-settings, or event-editing tools. Label-enabled accounts receive a broader Google scope, but the server refuses TRASH and SPAM labels. Calendar tools appear only when at least one account has Calendar enabled. Scanned PDFs and unsupported attachment types are stored on disk rather than returned as extracted text. Tokens are kept on the local machine with 600 permissions, and the HTTP transport will not run without a token.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Multi Mail MCP

yybd/multi-mail-mcp is an MCP server that connects AI clients to multiple Gmail accounts through the Gmail API. Its main tools search mailboxes, read messages and threads, create or send drafts and replies, inspect attachments, and optionally manage labels and Google Calendar events.

Run the published package with `npx`; Node.js 20 or newer is required. Use its stdio entry point for local MCP clients, or configure the Streamable HTTP entry point when connecting by URL. Each user also supplies a Google OAuth client.

Yes, it can search all connected mailboxes by passing `account="all"` to `search_emails`. Individual accounts can be selected by full address, configured alias, or the part before the `@`; `MULTI_MAIL_DEFAULT` sets the default account.

Start it with `--drafts-only` or set `MULTI_MAIL_SEND=off`. The sending tools are then not registered, while searching, reading, and draft creation remain available for workflows that require human approval.

Yes, Calendar support is opt-in per account with `--calendar`. Enabled accounts provide event listing, free-time searches across visible calendars, and personal event creation; the server does not invite attendees or modify or delete existing events.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMulti Mail MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/yybd-multi-mail-mcp?style=directory)](https://allmcps.com/mcp/yybd-multi-mail-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/yybd-multi-mail-mcp"><img src="https://allmcps.com/api/badge/yybd-multi-mail-mcp?style=directory" alt="Multi Mail MCP on AllMCPs" /></a>