An MCP (Model Context Protocol) server enabling AI assistants like Claude and Cursor to perform email operations via IMAP and SMTP. Current stable version is 1.2.1, maintained on GitHub with regular updates. Key differentiators: environment-based secure configuration, natural language commands for email tasks, automatic connection management, multi-mailbox support, attachment handling, and TLS/SSL compatibility. Designed for integration with AI agents that use the MCP protocol.
npm install mcp-mail-serverNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the MCP Mail Server globally and configures it as an MCP server for Claude Desktop with environment variables for IMAP and SMTP settings.
Update to version 1.2.1 or later, and ensure search criteria are provided as nested arrays.
Update to 1.2.1. If you rely on date strings, parse ISO 8601 instead of locale-specific strings.
Ensure all required env vars are present: IMAP_HOST, IMAP_PORT, IMAP_SECURE, SMTP_HOST, SMTP_PORT, SMTP_SECURE, EMAIL_USER, EMAIL_PASS.
Update to 1.2.1. The tool now behaves correctly; no code changes needed, but behavior differs.
Update to 1.2.1. Ensure you always provide a non-empty text parameter.
Use string values for ports in the env object.
Verify IMAP_HOST and IMAP_PORT. Ensure the server allows connections from your network. If using TLS, IMAP_SECURE should be 'true' and port 993.
Wrap each search condition in its own array. For example: [['FROM', 'someone@example.com'], ['SINCE', '01-Jan-2025']].
Double-check the IMAP_HOST environment variable. Ensure the hostname is correct and accessible from your environment.
Verify that environment variables are set correctly and the IMAP server is reachable. Restart the MCP server.
No dependency data recorded yet.