MultiMail
MultiMail enables AI agents to send, receive, and manage emails through the Model Context Protocol (MCP). Key capabilities include:
List mailboxes (
list_mailboxes): Discover all mailboxes available to your API key, including IDs, email addresses, oversight modes, and display names.Send email (
send_email): Send markdown emails (auto-converted to HTML) to one or more recipients with optional CC; supports gated oversight (pending_approvalstatus) and read-only mode detection.Check inbox (
check_inbox): List email summaries filterable by status (unread,read, orarchived).Read email (
read_email): Retrieve full email content (markdown body + attachment metadata) by ID; automatically marks it as read.Reply to email (
reply_email): Reply within an existing thread with automatic threading headers; supports oversight/read-only mode.Search identity (
search_identity): Look up the public identity document for any MultiMail address to verify an agent's operator, oversight mode, and capabilities.Update settings: Modify mailbox settings (display name, oversight mode, signature, webhooks) and account settings (org name, oversight email, physical address).
Delete mailbox: Permanently delete a mailbox (requires admin scope).
Account activation: Resend confirmation emails and activate accounts with confirmation codes.
Works with Claude.ai, Claude Desktop, Cursor, Windsurf, VS Code Copilot, ChatGPT Desktop, and other MCP clients.
Utilizes Markdown for email composition and provides incoming messages in clean Markdown format, enabling AI agents to handle email content without HTML parsing.
@multimail/mcp-server
Your agent doesn't have email yet because nobody trusts it with email yet. MultiMail fixes that. A real email address with a trust ladder from read-only to fully autonomous, cryptographic identity on every message, and per-recipient sending controls.
Quick start
{
"mcpServers": {
"multimail": {
"type": "url",
"url": "https://mcp.multimail.dev/mcp"
}
}
}Remote server. No install. Authenticates via OAuth on first connect.
Works with Claude.ai, Claude Desktop, Claude Code, Cursor, Windsurf, Copilot (VS Code), ChatGPT Desktop, and any MCP client that supports remote servers.
Alternative: local stdio server
{
"mcpServers": {
"multimail": {
"command": "npx",
"args": ["-y", "@multimail/mcp-server"],
"env": {
"MULTIMAIL_API_KEY": "mm_live_...",
"MULTIMAIL_MAILBOX_ID": "01KJ1NHN8J..."
}
}
}
}Get a key at multimail.dev. Or run without one to create an account interactively.
Config file locations
Client | Config file |
Claude Code |
|
Claude Desktop |
|
Cursor |
|
Windsurf |
|
Copilot (VS Code) |
|
OpenCode |
|
ChatGPT Desktop | Settings > MCP Servers |
Related MCP server: MCP Email Server
Trust ladder
Every mailbox has an oversight mode. Start restrictive, graduate as the agent earns trust.
Mode | Behavior |
| Agent reads email. All sends blocked. |
| Every action requires human approval. |
| Outbound held for approval. Inbound immediate. (default) |
| Agent sends freely. Copies go to oversight address. |
| Full send/receive. No gates. |
Agents request upgrades via the API. The operator approves with a one-time code. Downgrades need no approval. The agent can always restrict itself.
The gated approval flow is formally verified in Lean 4. No email reaches delivery without passing through operator approval, for every possible code path.
Per-recipient allowlist
In gated_send mode, allowlisted recipients bypass the approval queue. Add exact addresses (vendor@example.com) or domain wildcards (*@example.com). Every addition requires operator email approval. The agent cannot self-approve allowlist changes.
The practical middle ground: routine correspondence with known contacts goes immediately, new recipients still require oversight.
Cryptographic identity
Every outbound email carries a signed X-MultiMail-Identity header (ECDSA P-256). The payload includes operator name, oversight mode, capabilities, and verification status. Recipients verify against the public key at GET /.well-known/multimail-signing-key.
A separate X-MultiMail-Reputation header links to privacy-preserving reputation data: bounce rates, complaint rates, account age. No raw addresses exposed.
Without verified identity, recipients cannot distinguish your agent from a spammer. With it, they can verify the operator, the oversight level, and the sending history before reading a word.
Agent self-registration (auth.md)
Agents can register themselves without a browser. The protocol uses verified-email identity assertion, following the auth.md convention inspired by WorkOS AuthKit:
POST /agent/auth -> claim_token + OTP sent to operator email
POST /agent/auth/claim/complete -> API key + tenant_id + granted scopesDiscovery follows RFC 9728:
GET /.well-known/oauth-protected-resource(resource metadata)GET /.well-known/oauth-authorization-server(authorization metadata withagent_authextension)GET /auth.md(human/agent-readable registration guide)
The WWW-Authenticate header on 401 responses points agents to these endpoints automatically. An agent that hits a 401 can follow the link, read the registration protocol, and onboard itself.
Content scanning
Every outbound email is scanned before delivery. Emails enter pending_scan status, then transition to delivery or pending_send_approval (in gated modes). Inbound emails go through the same pipeline. Phishing, malware, and prompt injection patterns are flagged before reaching the agent's inbox.
How it works
Email bodies are markdown in, formatted HTML out. Inbound HTML arrives as clean markdown (15x fewer tokens than raw MIME).
Threading is automatic. Reply to an email and headers are set correctly.
Sends return
pending_scanwhile scanned. Gated mailboxes then transition topending_send_approvalfor human review. Do not retry.Every outbound email carries a cryptographically signed
X-MultiMail-Identityheader.Reputation data via
X-MultiMail-Reputationheader: bounce rates, complaint rates, account age. Privacy-preserving, updated daily.
Tools (50)
Tool | Description |
Core email | |
| Send email as markdown. Supports attachments, |
| List emails with filters: status, sender, subject, date range, direction, attachments, pagination. |
| Full email content. Trusted metadata and untrusted body returned as separate content blocks. |
| Reply in-thread. Threading headers set automatically. |
| All emails in a conversation thread with participants and metadata. |
| Download attachment as base64 with content type. |
| Cancel a pending or scheduled email. |
| Edit scheduled email before it sends. |
| Block until matching email arrives or timeout (max 120s). |
| Get all tags on an email. Persistent key-value agent memory across sessions. |
| Set tags on an email. Merges with existing tags. |
| Delete a specific tag key from an email. |
Oversight | |
| Emails awaiting oversight decision (requires oversight scope). |
| Approve or reject a pending email (requires oversight scope). |
| Request or apply oversight mode upgrade (action: request|apply). |
Sending allowlist | |
| List sending allowlist entries. |
| Add a recipient to the sending allowlist. Operator approval required. |
| Remove an allowlist entry. |
Mailbox management | |
| All mailboxes with ID, address, oversight mode, display name. |
| First-run setup: oversight mode, display name, CC/BCC, scheduling, signature. |
| Update settings (display name, oversight mode, signature, webhooks). |
| Create mailbox (admin scope + operator approval). |
| Permanently delete a mailbox (admin scope). |
Account & billing | |
| Account status, plan, quota, sending enabled, enforcement tier. |
| Update org name, oversight email, physical address. |
| Permanently delete account and all data (admin scope). |
| Quota and usage stats for the billing period. |
| Upgrade to paid plan (Builder $9/mo, Pro $29/mo, Scale $99/mo). |
| Cancel paid subscription, revert to starter at period end. |
| Stripe portal URL for self-service billing. |
Signup (no API key needed) | |
| ALTCHA proof-of-work challenge for account creation. |
| Create account with solved PoW challenge. |
| Resend activation email with new code. |
| Activate account using confirmation code. |
| Guided onboarding on the public /onboard endpoint. |
API keys & audit | |
| List all API keys (admin scope). |
| Create API key with scopes (admin + operator approval). |
| Revoke an API key (admin scope). |
| Account audit log (admin scope). |
Contacts & spam | |
| Search contacts by name or email. |
| Add a contact. |
| Delete a contact. |
| Report spam or clear spam status (action: report|clear). |
| Spam-flagged and quarantined emails. |
| List suppressed recipients with pagination. |
| Remove a recipient from the suppression list. |
Webhooks | |
| Create webhook for real-time email event notifications. |
| List all webhooks. |
| Delete a webhook. |
Meta | |
| Report a bug, site problem, or feature request. |
Example prompts
Find the most recent email from alice@example.com, summarize what she's asking,
then draft a reply saying I'll review this week. Don't send until I approve.Check my inbox and summarize the last 5 unread emails.
For each: sender, subject, time, and whether it needs action today.Review the pending approval queue. For each pending email: who it goes to,
the subject, risk factors, and whether to approve or reject.Show my current sending allowlist. Then add *@acme.com so emails to Acme skip approval.Environment variables
Variable | Required | Description |
| For stdio mode | Your API key ( |
| No | Default mailbox ID. If unset, pass |
| No | API base URL. Defaults to |
Also available
REST API:
https://api.multimail.dev(OpenAPI spec)CLI:
npx -y @mvanhorn/printing-press install multimail(every API endpoint as a shell command)SDKs: Python, Vercel AI SDK, LangChain, LlamaIndex, CrewAI, AutoGen
Development
npm install
npm run dev # Run with tsx
npm run build # Compile TypeScript
npm start # Run compiled versionLicense
MIT
By using MultiMail you agree to the Terms of Service and Acceptable Use Policy.
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/multimail-dev/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server