Email MCP
MCP server by UseJunior Verified · npm:@usejunior
Email MCP is an MCP server that lets AI agents read, search, draft, send and organize mail in Microsoft 365 / Outlook and Gmail. Agents cannot send email until an allowlist is configured.
Install Email MCP
Built from the published package, never by AI.
claude mcp add email-mcp -- npx -y @usejunior/email-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"email-mcp": {
"args": [
"-y",
"@usejunior/email-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"email-mcp": {
"args": [
"-y",
"@usejunior/email-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"email-mcp": {
"args": [
"-y",
"@usejunior/email-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add email-mcp -- npx -y @usejunior/email-mcp{
"mcpServers": {
"email-mcp": {
"args": [
"-y",
"@usejunior/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 @usejunior/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 an open-source TypeScript MCP server from UseJunior that gives AI agents local access to email. It lets Claude Code, Cursor, Gemini CLI, OpenClaw and other MCP-compatible runtimes read mail, search threads, draft replies, label messages, change read state, move messages and send mail through the user's own mailbox. Microsoft 365 / Outlook and Gmail are supported.
Agents cannot send email until an allowlist is configured, and delete is disabled by default and needs an explicit opt-in. Errors are sanitized, and body files are sandboxed with path traversal protection. The package includes a setup wizard for OAuth and an optional watcher that signals OpenClaw when new mail arrives. It fits setups where agents need email access with security defaults.
Written from the project's README and checked against it.
Tools it gives your assistant
list_emailsList recent emails with filtering.read_emailRead full email content as markdown, or raw HTML with format html.search_emailsFull-text search across mailboxes.get_threadGet the full conversation context for an email.create_draftCreate an email draft.send_emailSend a new email, gated by the send allowlist.reply_to_emailReply within a thread, gated by the send allowlist.label_emailApply labels or categories to an email (not supported on Gmail).mark_readMark an email as read or unread (not supported on Gmail).move_to_folderMove an email between folders (not supported on Gmail).
What you need
- A Microsoft 365 / Outlook or Gmail mailbox
- OAuth configuration, completed through the interactive setup wizard
- An MCP-compatible runtime such as Claude Code, Cursor, Gemini CLI or OpenClaw
Try asking
- List my most recent unread emails from today
- Search my mailbox for messages from last week about invoices
- Draft a reply to the latest thread from my manager
Good to know
- On Gmail, label_email, flag_email, mark_read and move_to_folder fail with NOT_SUPPORTED.
- Delete is disabled by default and requires an explicit opt-in.
- Agents cannot send email until a send allowlist is configured.
- With the observe scope profile, a mailbox previously consented to full scopes still carries write scopes in its token.
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 →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
Email MCP: common questions
Does Email MCP let an AI agent send email on its own?
Not by default. Security-first defaults mean agents cannot send email until you explicitly configure an allowlist.
Which email providers does Email MCP support?
The source says Microsoft 365 / Outlook and Gmail are supported today. Gmail does not implement the label, flag, read-state and move tools.
Can Email MCP delete messages?
Delete is disabled by default and requires an explicit opt-in. On Gmail, delete_email only deletes drafts.
How do I install Email MCP?
In Claude Code run claude mcp add email-mcp -- npx -y @usejunior/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 published by npm:@usejunior from its verified domain in the official MCP Registry.
Is Email MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Email MCP safe to use?
It scores 76 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: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
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.
