mcp-mail-server and better-email-mcp

mcp-mail-server
64
Established
better-email-mcp
45
Emerging
Maintenance 13/25
Adoption 15/25
Maturity 18/25
Community 18/25
Maintenance 13/25
Adoption 2/25
Maturity 18/25
Community 12/25
Stars: 22
Forks: 12
Downloads: 8,235
Commits (30d): 0
Language: TypeScript
License: MIT
Stars: 2
Forks: 1
Downloads:
Commits (30d): 0
Language: TypeScript
License: MIT
No risk flags
No risk flags

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.

Scores updated daily from GitHub, PyPI, and npm data. How scores work