MCP directory
PM

Proton Mail (unofficial)

by github.com/sethbang · v1.0.2 · updated May 30, 2026

Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP

npm

Run it locally

Install the package and point your AI client at it.

Environment variables

  • PROTONMAIL_USERNAMErequired

    Your Proton Mail email address

  • PROTONMAIL_PASSWORDrequiredsecret

    Your Proton Mail SMTP password (not your login password; generate one in Proton settings)

  • PROTONMAIL_HOST

    SMTP host

  • PROTONMAIL_PORT

    SMTP port

  • PROTONMAIL_SECURE

    Use TLS for SMTP (true for port 465)

  • IMAP_HOST

    Proton Mail Bridge IMAP host (required for read/search tools)

  • IMAP_PORT

    Proton Mail Bridge IMAP port

  • IMAP_SECURE

    Use TLS for IMAP

  • IMAP_USERNAME

    Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME)

  • IMAP_PASSWORDsecret

    Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)

  • READONLY

    Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)

  • RESTRICT_OUTBOUND_TO_SELF

    Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)

  • ALLOW_FILE_DOWNLOAD_DIR

    Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64

  • ALLOW_EMPTY_FOLDER

    Register the empty_folder tool (not recommended)

  • DEBUG

    Enable verbose logging to stderr

More from github.com/sethbang

More MCP servers