MCP Email Server
The MCP Email Server provides IMAP and SMTP email functionality through an MCP interface, enabling comprehensive email account management and operations.
Key capabilities:
Add Email Accounts: Configure new accounts with IMAP/SMTP server settings including host, port, credentials, and SSL options
List Email Accounts: View all configured accounts with their attributes
Retrieve Emails: Access and paginate emails with extensive filtering options by sender, recipient, subject, body content, and date ranges
Send Emails: Compose and send emails with support for multiple recipients, CC, BCC, subject, and body
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., "@MCP Email Servercheck my inbox for unread emails from the last hour"
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.
mcp-email-server
An MCP server for reading, searching, organizing, and sending email through IMAP and SMTP.
Version 1.0.0 introduces Local Email App V2. Updating the package does not
automatically import existing settings created with PyPI 0.16.0 and earlier:
they remain active in backward-compatiblelegacy mode, so there is no required
migration. If you
would like to use the new managed storage, you can review and import those
settings whenever it is convenient.
Optional migration for existing installations
An @latest release that includes Local Email App V2 offers a preview-first
CLI migration:
uvx mcp-email-server@latest config init \
--database ~/.config/mcp-email-server/managed.sqlite3
uvx mcp-email-server@latest config import-legacy
uvx mcp-email-server@latest config import-legacy --apply
uvx mcp-email-server@latest config doctorThe apply step displays the plan again and asks for IMPORT confirmation. A
complete import selects managed mode; otherwise the existing legacy settings
remain selected. The source TOML file and its legacy keyring entries are left
untouched. You can also run uvx mcp-email-server@latest ui and choose Import
existing settings. After a successful import, restart running MCP clients. See
the detailed upgrade guidance
and import troubleshooting.
Related MCP server: Email SMTP/IMAP MCP Server
Quick start
1. Configure an email account
From this source checkout, run the configuration UI with
uv:
uv sync
uv run mcp-email-server uiFor a published release whose notes state that it includes Local Email App V2,
uvx mcp-email-server@latest ui is the equivalent temporary invocation.
Keep the foreground command running. On a truly empty installation, the authenticated browser session prepares private account storage at the safe local default; existing TOML or environment configuration instead offers an explicit import review while the previous settings keep running. The account-first UI has only Email accounts and Settings & help as primary destinations. Start with the email address and password; the UI fills common connection settings from the email domain and keeps them editable, while outgoing mail remains optional. A saved complete account is ready without a separate activation step. Use Password & test on the saved account if desired, then restart the MCP client to apply the selected settings.
2. Configure the MCP client
Use the same V2-capable distribution for stdio as for the UI. For a published V2 release, add the following server definition to the MCP client:
{
"mcpServers": {
"mcp-email-server": {
"command": "uvx",
"args": ["mcp-email-server@latest", "stdio"]
}
}
}Restart the MCP client after updating its configuration. When testing this
source checkout before publication, invoke uv run --directory /absolute/path/to/mcp-email-server mcp-email-server stdio instead of pairing a
managed catalog with PyPI @latest.
3. Verify the connection
Ask the client to list the configured email accounts or recent messages.
Other configuration methods
For the SQLite-backed managed CLI workflow, headless environments, containers, multiple accounts, custom TLS settings, and environment-variable configuration, see the documentation.
Documentation
Development
See CONTRIBUTING.md.
License
This project is licensed under the terms of the LICENSE.
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
- Alicense-qualityCmaintenanceEnables sending and receiving emails through SMTP, IMAP, and POP3 protocols with support for attachments, HTML content, and email validation.Last updatedMIT
- AlicenseAqualityDmaintenanceEnables email management through SMTP and IMAP protocols with support for sending emails with attachments, searching and filtering messages, replying/forwarding with threading, organizing mailboxes, and managing multiple email accounts.Last updated542MIT
- Alicense-qualityDmaintenanceEnables email management through IMAP and SMTP protocols, supporting reading, sending, replying to emails with proper threading, and downloading attachments. Supports multiple email accounts with flexible configuration options.Last updated1BSD 3-Clause
- Flicense-qualityBmaintenanceEnables email management via IMAP/SMTP, supporting list emails, read emails, send emails, and save drafts.Last updated
Related MCP Connectors
Email for AI agents — send, receive as a webhook, manage domains, templates, routing.
AI email inbox and sending tools with attachments, search, live events, and webhooks.
Email for AI agents: send mail, manage contacts, automations & webhooks. Zero-DNS first send.
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/Wh1isper/mcp-email-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server