mcp-mail-server and better-email-mcp
About mcp-mail-server
yunfeizhu/mcp-mail-server
A lightweight Model Context Protocol (MCP) server that provides IMAP and SMTP email functionality for AI assistants like Claude in Cursor IDE. Built with TypeScript and optimized for easy deployment via npm/npx.
Supports multi-mailbox navigation with RFC 6154 auto-detection of special folders (Sent, Drafts), concurrent connection management with timeout guards, and comprehensive search operations (by sender/subject/date/keyword) with optional inbox-only filtering. Implements stateless message retrieval using UIDs rather than connection state, HTML-escape injection prevention in replies, and automatic attachment metadata extraction. Integrates with Claude Desktop, Cursor, Claude Code, and other MCP clients via stdio transport with environment-based configuration for TLS/SSL email servers.
About better-email-mcp
n24q02m/better-email-mcp
MCP server for Email (IMAP/SMTP) - composite tools optimized for AI agents
Provides 5 composite tools spanning search, read, send, reply, and organization across 6+ email providers with automatic IMAP/SMTP discovery and no OAuth2 setup required. Built as an MCP server with token-optimized descriptions, on-demand help resources, and thread-aware headers (In-Reply-To/References) for conversation continuity. Supports multi-account management via app passwords or environment variables, with encrypted credential storage and integration into Claude, Gemini, and Codex AI frameworks.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work