Mail IMAP
Manages IMAP email accounts securely, offering read/write operations and structured output for programmatic access.
mail-imap-mcp-rs is a robust and secure Model Context Protocol (MCP) server designed for efficient IMAP email access via stdio. It facilitates comprehensive read and write operations on IMAP mailboxes, providing structured JSON output, cursor-based pagination for large datasets, and advanced features like message parsing, attachment extraction (including PDF text), and multi-account management. Built with Rust for speed and memory safety, it prioritizes security with TLS-only connections and explicit opt-in for write operations, making it ideal for integrating secure email capabilities into applications.
Key Features
01Structured JSON output for consistent tool responses
02Secure by default with TLS-only connections and password secrecy
03Support for multiple IMAP accounts via environment variables
04Efficient cursor-based pagination for message searching
05Explicitly enabled read and write operations including copy, move, flag, and delete
060 GitHub stars
Use Cases
01Integrating IMAP email functionality into custom applications and scripts
02Programmatically searching mailboxes and extracting specific email content or attachments
03Automating email management tasks like archiving, flagging, and deleting messages