email-mcp
Allows storing email account passwords as 1Password references, which are resolved automatically using the 1Password CLI for secure credential management.
Supports Gmail accounts for sending and receiving emails via IMAP/SMTP, with specific configuration for appending sent messages and avoiding duplicates.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@email-mcpcheck my inbox for new emails"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
email-mcp
MCP server (stdio) exposing structured email tools over IMAP/SMTP for multiple
accounts: email_list_accounts, email_list_folders, email_search,
email_read, email_attachment, email_mark, email_move, email_delete,
email_send, email_authenticate.
Setup
npm install
npm run buildCopy accounts.example.json to ~/.config/email-mcp/accounts.json (or set
EMAIL_MCP_CONFIG) and fill in your accounts.
auth.type: "password"— plain IMAP LOGIN / SMTP AUTH.passis either a literal or a 1Password reference (op://vault/item/field), resolved viaop readat first use — theopCLI must be signed in.auth.type: "m365-oauth"— Exchange Online / Microsoft 365 via XOAUTH2 device-code flow (basic-auth IMAP is dead there).tenantis your domain or tenant ID;clientIdis optional and defaults to Thunderbird's public client. Run theemail_authenticatetool once per account; the refresh token is cached at~/.config/email-mcp/tokens/<account>.json(chmod 600).appendToSent: true— copy sent mail to the\Sentfolder via IMAP APPEND (for servers that don't save it automatically; keepfalsefor M365/Gmail).
Related MCP server: mail-mcp
Register with Claude Code (user scope)
claude mcp add --scope user email -- node /path/to/email-mcp/dist/index.jsOr in JSON config:
{
"mcpServers": {
"email": {
"command": "node",
"args": ["/path/to/email-mcp/dist/index.js"],
"env": { "EMAIL_MCP_CONFIG": "/absolute/path/to/accounts.json" }
}
}
}Skill
Symlink the bundled orchestration skill into your personal skills directory so Claude Code picks it up:
ln -s /path/to/email-mcp/skills/email-manager ~/.claude/skills/email-managerDevelopment
npm test # vitest unit suite (no network)
npm run build # tsc → dist/Manual end-to-end testing: run the server and exercise each tool against a real account.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBquality-maintenanceThis MCP server enables users to manage emails via POP3 and SMTP protocols, allowing for listing, searching, reading, and sending messages. It also supports fetching email threads and extracting text content from various document attachments including PDFs and Office files.Last updated8
- Alicense-qualityCmaintenanceAn MCP server for email operations supporting IMAP and SMTP protocols, enabling sending, receiving, searching, and managing emails with attachments.Last updatedMIT
- AlicenseBqualityBmaintenanceUniversal IMAP/SMTP MCP server that works with any email provider, providing tools to read, search, send, and manage emails.Last updated101101MIT
- AlicenseAqualityBmaintenanceMCP server that enables email management (send, read, search, delete, etc.) via IMAP/SMTP, compatible with Gmail, Outlook, Yahoo, iCloud, and other standard mail servers.Last updated11MIT
Related MCP Connectors
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
Hosted email MCP for AI agents with inboxes, send/receive, memory, recovery, and credits.
Shipmail MCP server for AI agent custom-domain email inboxes with REST API and webhooks.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/sasha-id/email-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server