← toolsEmail MCP Server (IMAP + SMTP)
Enables AI agents to read, search, and send emails through the Model Context Protocol using standard IMAP (receiving) and SMTP (sending) protocols. Compatible with any email provider that supports these protocols: corporate mail servers, Tencent Enterprise Mail, Alibaba Enterprise Mail, Zoho, Microsoft Exchange/Office 365, Gmail (via app password), 163, QQ, and more. Agents can search messages, read attachments, send formatted emails, and reply to threads — all without provider-specific OAuth setup.
Security Assessment
| Level | restricted |
| Permissions | read:email, write:email, send:email |
| Data Exposure | full |
| Requires Supervisor | Yes |
| Risk Notes | Full mailbox read access and ability to send email as the authenticated user. Ensure the agent has a clearly scoped objective before granting access. Use a dedicated automation account where possible. |
Integration
| Type | mcp-server |
| Package | mcp-mail-server |
| Install | npx -y mcp-mail-server |
| Auth | credentials |
Capabilities
| Actions | list_emails, search_emails, read_email, read_attachments, send_email, reply_email, delete_email, mark_read_unread |
| Input Types | text |
| Output Types | text, json |
| When to Use | When agents need to read incoming emails, search the inbox, send reports or notifications, or reply to messages as part of automated workflows. |
| When NOT to Use | For high-volume transactional email sending at scale (use a dedicated SMTP relay like SendGrid instead). For Gmail-only use cases where OAuth is preferred. |
Category: communication · Free tier: Yes · Open source MIT. No cost beyond your email provider's own service fees. · Source
Collected: 2026-03-16 from https://github.com/yunfeizhu/mcp-mail-server