Purpose: This is an unofficial, community-built Model Context Protocol (MCP) server that lets AI assistants access Proton Mail accounts through SMTP and a local Proton Mail Bridge, enabling sending, reading, searching, and organizing email. Not affiliated with Proton AG, does not use its private API, use at your own risk.
Main capabilities: send, reply, reply all, forward email, with support for thread headers and Markdown body; read email via IMAP; send and download attachments (base64 or save to disk); search by sender, recipient, subject, body, date, flags, size, List-ID, attachments, and other criteria; move, delete, mark/unmark email, with support for bulk operations and dryRun preview; folder and label management; statistics aggregation (count_messages, folder_stats, top_senders); thread-level operations.
Usage: requires the SMTP password of a Proton Mail account, as well as a locally running Proton Mail Bridge (required for reading tools). In the configuration of an MCP client (Claude Desktop, Claude Code, Cursor, etc.), run it via npx with automatic download, or clone and install from source.
Limitations and security: by default, deletion moves to Trash; READONLY=true can be used to enable read-only mode; bulk operations support dryRun; HTML is sanitized by default; fromName rejects values containing @ by default; inline attachment downloads have a limit of about 40 KB, and larger files require setting ALLOW_FILE_DOWNLOAD_DIR and passing saveTo; search dates are affected by the server time zone, and newly sent email indexing may be delayed by 30–60 seconds.