email-mcp
MCP server by marlinjai Community
Connects AI assistants to Gmail, Outlook, iCloud and generic IMAP accounts through one MCP server. Built for people who want search, reading, sending, drafts and batch email actions from their assistant.
Install email-mcp
Built from the published package, never by AI.
claude mcp add email-mcp -- npx -y @marlinjai/email-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"email-mcp": {
"args": [
"-y",
"@marlinjai/email-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"email-mcp": {
"args": [
"-y",
"@marlinjai/email-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"email-mcp": {
"args": [
"-y",
"@marlinjai/email-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add email-mcp -- npx -y @marlinjai/email-mcp{
"mcpServers": {
"email-mcp": {
"args": [
"-y",
"@marlinjai/email-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add email-mcp npx -y @marlinjai/email-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the email-mcp block.
About
email-mcp is a unified MCP server for email access across Gmail, Outlook, iCloud, and generic IMAP providers. It uses Gmail's REST API and Microsoft Graph where available, and falls back to IMAP for universal compatibility. Authentication uses browser-based OAuth flows for Gmail and Outlook with automatic token refresh, while iCloud and generic IMAP use credentials such as an app-specific password. Credentials are stored encrypted with AES-256-GCM.
The server exposes 36 tools for account management, searching and reading, sending and drafts, attachments, and organizing mail. Batch operations can delete, move, or mark hundreds of emails in one call, and search returns compact results by default with optional full bodies. It suits people who want an AI assistant such as Claude Code to work with their email across several accounts.
Written from the project's README and checked against it.
Tools it gives your assistant
email_searchSearches emails with filters, returning compact results unless returnBody is set to true.email_getGets full email content by ID, including headers, body and attachment metadata.email_get_threadGets an entire email thread or conversation.email_sendComposes and sends a new email, with optional attachments.email_replyReplies to an email and keeps the reply inside the original thread.email_forwardForwards an email, with original attachments included only when opted in.email_draft_createCreates a draft email, optionally as a reply in an existing thread.email_draft_updateUpdates an existing draft's content and attachments.email_get_attachmentDownloads a specific attachment by ID as base64 data.email_save_attachmentSaves an attachment to a fixed downloads directory and returns metadata only.
What you need
- Node.js, since the server is installed and run with npm and npx
- A Gmail or Outlook account for OAuth sign-in
- An iCloud account with an app-specific password
- An IMAP and SMTP server for generic IMAP accounts
Try asking
- Search my inbox for unread emails from my accounting firm this week
- Reply to the latest message in this thread and keep it in the conversation
- Save the attachment from the invoice email to my downloads folder
Good to know
- Google's verification of the shared Gmail OAuth app is still running, so other accounts need their own OAuth app.
- Attachments are capped at 25 MB per message in total, and Outlook accepts up to 3 MB through this server.
- Outlook, iCloud and IMAP accounts get no signature added to outgoing mail.
- Attaching files by path works only from the folder set in EMAIL_MCP_ATTACHMENTS_DIR.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to email-mcp
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
email-mcp: common questions
Which email providers does email-mcp support?
It supports Gmail, Outlook, iCloud and generic IMAP/SMTP providers. Gmail and Outlook use their provider APIs where available, and IMAP is used as a fallback.
How are my email credentials stored?
Credentials are stored with AES-256-GCM encryption at rest, using machine-derived keys. OAuth tokens refresh automatically for Gmail and Outlook.
Can it delete many emails at once?
Yes. Batch operations can delete, move or mark hundreds of emails in a single call.
How do I install email-mcp?
In Claude Code run claude mcp add email-mcp -- npx -y @marlinjai/email-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is email-mcp the official server?
email-mcp is a community project by marlinjai, not verified by a company domain.
Is email-mcp free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is email-mcp safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to email-mcp?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does email-mcp work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
