mcp-mail-server and 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 email-mcp
codefuturist/email-mcp
Email MCP server with full IMAP + SMTP support — read, search, send, manage, and organize email from any AI assistant via the Model Context Protocol
Exposes 47 tools across 7 prompts and 6 resources, including real-time IMAP IDLE watchers with AI-powered triage, email scheduling, calendar extraction, and provider-aware label management. Built with layered service architecture decoupled from MCP wiring for testability, uses stdio transport with XDG-compliant TOML config, and auto-detects settings for 8+ providers (Gmail, Outlook, Yahoo, iCloud, Fastmail, ProtonMail, Zoho, GMX). Supports multi-account workflows with OAuth2 (experimental), token-bucket rate limiting, TLS/STARTTLS encryption, and 5 MB attachment caps; installable via npm/Docker or integrated directly into Claude Desktop, VS Code, Cursor, Windsurf, and Zed.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work