Skip to content

Releases

v1.0.2

Choose a tag to compare

@sethbang sethbang released this 30 May 13:36
ad9d628

Patch release focused on MCP tool-description quality and a real annotation fix. No breaking changes.

Fixes

  • download_attachment annotation corrected. It was annotated readOnlyHint: true but writes to disk when saveTo is set. It is now readOnlyHint: false (destructiveHint: false, idempotentHint: true), with the description clarifying that inline calls are read-only and saveTo is 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 (uids XOR match, confirm-on-permanent), and when-to-use guidance (single vs bulk vs thread; run dryRun first).
  • Version consistency. The server now reports 1.0.2 over MCP (the McpServer version and lockfile had drifted at 1.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

Choose a tag to compare

@sethbang sethbang released this 30 May 05:58
dfd7215

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 (fromName rejects @ by default)
  • dryRun previews on all four send tools — resolve the full recipient set (including the reply-all fan-out) without sending
  • RESTRICT_OUTBOUND_TO_SELF opt-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 on preferHtml
  • includeSnippet previews 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 dryRun and XOR uids/match input
  • Full Proton label semantics for create / rename / delete of folders + labels
  • Thread operations (move / delete / flag) with cross-folder All-Mail-orphan rerouting
  • empty_folder gated behind ALLOW_EMPTY_FOLDER, with dryRun

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.