Repository navigation
Releases
Releases · sethbang/proton-mail-mcp
v1.0.2
Patch release focused on MCP tool-description quality and a real annotation fix. No breaking changes.
Fixes
download_attachmentannotation corrected. It was annotatedreadOnlyHint: truebut writes to disk whensaveTois set. It is nowreadOnlyHint: false(destructiveHint: false,idempotentHint: true), with the description clarifying that inline calls are read-only andsaveTois the only side effect. This matters for agent auto-approval — a tool that can write must not advertise as read-only.
Improvements
- Complete tool-parameter descriptions. Every parameter on all tools now ships an inline description over the wire. Previously several tools (
count_messages,folder_stats,delete_thread,flag_thread,bulk_update_flags,bulk_update_labels,bulk_delete,top_senders,move_thread) emitted bare schemas. Descriptions now cover syntax (flag formats,Labels/path rules), constraints (uidsXORmatch, confirm-on-permanent), and when-to-use guidance (single vs bulk vs thread; rundryRunfirst). - Version consistency. The server now reports
1.0.2over MCP (theMcpServerversion and lockfile had drifted at1.0.0).
Install
npx -y proton-mail-mcp
Listed in the MCP Registry as io.github.sethbang/proton-mail-mcp. Unofficial — not affiliated with Proton AG.
Full changelog: v1.0.1...v1.0.2
v1.0.0
First stable release of proton-mail-mcp — an MCP server for Proton Mail that lets any AI client send, read, search, and organize email over SMTP and IMAP (via Proton Mail Bridge).
Highlights
Sending & safety
- HTML sanitization on by default for send / reply / forward / save_draft
- Display-name spoofing defense (
fromNamerejects@by default) dryRunpreviews on all four send tools — resolve the full recipient set (including the reply-all fan-out) without sendingRESTRICT_OUTBOUND_TO_SELFopt-in guard locks sends to the authenticated account, for throwaway/QA setups
Reading & search
- Message bodies fenced as untrusted;
[html:active-content]token flags live HTML onpreferHtml includeSnippetpreviews carry an untrusted-content banner- Search by sender / subject / body / date / size / attachments; exact UID-ordered pagination on
list_messages
Organizing
- Bulk move / delete / flag / label with
dryRunand XORuids/matchinput - Full Proton label semantics for create / rename / delete of folders + labels
- Thread operations (
move/delete/flag) with cross-folder All-Mail-orphan rerouting empty_foldergated behindALLOW_EMPTY_FOLDER, withdryRun
Hardening
- Namespace protection (system mailboxes can't be renamed or deleted)
- Actionable error translation for Proton Bridge's opaque failures
- Per-operation IMAP connections; date-correct sort and pagination
Install
{
"mcpServers": {
"protonmail": {
"command": "npx",
"args": ["-y", "proton-mail-mcp"]
}
}
}Published to npm with build provenance (npm i proton-mail-mcp@1.0.0). See the README for full setup and the CHANGELOG for the complete list of changes since v0.5.0.