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
mcp-email-server
IMAP and SMTP via MCP Server
Github repository: https://github.com/ai-zerolab/mcp-email-server/
Documentation https://ai-zerolab.github.io/mcp-email-server/
Installation
Manual Installation
We recommend using uv to manage your environment.
Try uvx mcp-email-server@latest ui to config, and use following configuration for mcp client:
This package is available on PyPI, so you can install it using pip install mcp-email-server
After that, configure your email server using the ui: mcp-email-server ui
Then you can try it in Claude Desktop. If you want to intergrate it with other mcp client, run $which mcp-email-server for the path and configure it in your client like:
If docker is avaliable, you can try use docker image, but you may need to config it in your client using tools via MCP. The default config path is ~/.config/zerolib/mcp_email_server/config.toml
Installing via Smithery
To install Email Server for Claude Desktop automatically via Smithery:
Development
This project is managed using uv.
Try make install to install the virtual environment and install the pre-commit hooks.
Use uv run mcp-email-server for local development.
Releasing a new version
Create an API Token on PyPI.
Add the API Token to your projects secrets with the name
PYPI_TOKENby visiting this page.Create a new release on Github.
Create a new tag in the form
*.*.*.
For more details, see here.
Related MCP Servers
- -securityAlicense-qualityEnables interaction with Gmail through the Gmail API to read, send, and manage emails. Supports multiple Gmail accounts with real-time monitoring and advanced features for email search and attachment handling.Last updated -15Apache 2.0
- AsecurityFlicenseAqualityEnables sending emails via SMTP with template management, supporting multiple SMTP configurations, template creation with variable substitution, and bulk email sending with rate limiting.Last updated -118
- -securityAlicense-qualityProvides comprehensive Gmail integration with LLM processing capabilities, allowing users to read, search, filter emails and handle attachments through the Model Context Protocol.Last updated -232MIT License
- AsecurityAlicenseAqualityManage your emails effortlessly with a standardized interface for drafting, sending, retrieving, and organizing messages. Streamline your email workflow with complete Gmail API coverage, including label and thread management.Last updated -46414538MIT License