
Proton Mail (unofficial)
This connects AI assistants to Proton Mail through standard SMTP and IMAP protocols via Proton Mail Bridge. It exposes the full email lifecycle: send with threading headers, reply and forward with Markdown rendering, search by sender/subject/date/attachment, bulk operations for moving and flagging messages, folder and label management, and thread-level actions that walk conversations across folders. All destructive operations support dry-run preview, and the send tools verify the Sent-copy UID with retry logic to work around Proton's indexing lag. Reach for this when you want programmatic Proton Mail access without touching private APIs. It sanitizes HTML by default and includes guards against display-name spoofing in the From field.
- GitHub stars
- 2
- tools
- 5
- auth
- Secret needed
- transport
- STDIO
- env vars
- 15
- last updated
- May 30, 2026
Tools
5 toolsPublic tool metadata for what this MCP can expose to an agent.
send_emailSend an email using Proton Mail SMTP.
Send an email using Proton Mail SMTP.
No parameter schema in public metadata yet.
reply_emailReply to a message with proper threading headers (In-Reply-To, References). Includes the quoted original message with attribution by default.
Reply to a message with proper threading headers (In-Reply-To, References). Includes the quoted original message with attribution by default.
No parameter schema in public metadata yet.
reply_all_emailReply to all original recipients (sender + TO + CC), excluding the authenticated user. Same threading + quoting semantics as `reply_email`.
Reply to all original recipients (sender + TO + CC), excluding the authenticated user. Same threading + quoting semantics as `reply_email`.
No parameter schema in public metadata yet.
forward_emailForward a message to new recipients. Original attachments are carried forward by default.
Forward a message to new recipients. Original attachments are carried forward by default.
No parameter schema in public metadata yet.
save_draftSave an email as a draft without sending it. The draft is placed in the user's `\Drafts` special-use folder.
Save an email as a draft without sending it. The draft is placed in the user's `\Drafts` special-use folder.
No parameter schema in public metadata yet.
Sponsors
Configuration
PROTONMAIL_USERNAME*Your Proton Mail email address
PROTONMAIL_PASSWORD*secretYour Proton Mail SMTP password (not your login password; generate one in Proton settings)
PROTONMAIL_HOSTdefault: smtp.protonmail.chSMTP host
PROTONMAIL_PORTdefault: 587SMTP port
PROTONMAIL_SECUREdefault: falseUse TLS for SMTP (true for port 465)
IMAP_HOSTdefault: 127.0.0.1Proton Mail Bridge IMAP host (required for read/search tools)
IMAP_PORTdefault: 1143Proton Mail Bridge IMAP port
IMAP_SECUREdefault: falseUse TLS for IMAP
IMAP_USERNAMEProton Mail Bridge username (falls back to PROTONMAIL_USERNAME)
IMAP_PASSWORDsecretProton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)
READONLYdefault: falseDisable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)
RESTRICT_OUTBOUND_TO_SELFdefault: falseRefuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)
ALLOW_FILE_DOWNLOAD_DIRAllowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64
ALLOW_EMPTY_FOLDERdefault: falseRegister the empty_folder tool (not recommended)
DEBUGdefault: falseEnable verbose logging to stderr
Readme
Proton Mail MCP Server
A Model Context Protocol (MCP) server that gives AI assistants full access to your Proton Mail account -- send, read, search, and organize email over SMTP and IMAP.
⚠️ Unofficial — not affiliated with Proton. This is an independent, community-built project. It is not developed, endorsed, sponsored, or supported by Proton AG. "Proton", "Proton Mail", and "Proton Mail Bridge" are trademarks of Proton AG, used here only to describe interoperability. It talks to Proton Mail over the standard SMTP submission endpoint and the locally-run Proton Mail Bridge; no Proton private API is used. Use at your own risk.
Demo
Proton Mail MCP demo — triaging an inbox from an MCP client
Features
Details
- Repository
- github.com/sethbang/proton-mail-mcp
- Website
- sethbang.github.io/proton-mail-mcp
- Categories
- Communication & Messaging, Search & Web Crawling
- Package
proton-mail-mcp- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active