← Back to Plugins
MCP Server MCP

Proton Mail (unofficial)

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

npx -y [email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "proton-mail-mcp",
      "version": "1.0.2",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "Your Proton Mail email address",
          "isRequired": true,
          "name": "PROTONMAIL_USERNAME"
        },
        {
          "description": "Your Proton Mail SMTP password (not your login password; generate one in Proton settings)",
          "isRequired": true,
          "isSecret": true,
          "name": "PROTONMAIL_PASSWORD"
        },
        {
          "description": "SMTP host",
          "default": "smtp.protonmail.ch",
          "name": "PROTONMAIL_HOST"
        },
        {
          "description": "SMTP port",
          "format": "number",
          "default": "587",
          "name": "PROTONMAIL_PORT"
        },
        {
          "description": "Use TLS for SMTP (true for port 465)",
          "default": "false",
          "name": "PROTONMAIL_SECURE"
        },
        {
          "description": "Proton Mail Bridge IMAP host (required for read/search tools)",
          "default": "127.0.0.1",
          "name": "IMAP_HOST"
        },
        {
          "description": "Proton Mail Bridge IMAP port",
          "format": "number",
          "default": "1143",
          "name": "IMAP_PORT"
        },
        {
          "description": "Use TLS for IMAP",
          "default": "false",
          "name": "IMAP_SECURE"
        },
        {
          "description": "Proton Mail Bridge username (falls back to PROTONMAIL_USERNAME)",
          "name": "IMAP_USERNAME"
        },
        {
          "description": "Proton Mail Bridge password (falls back to PROTONMAIL_PASSWORD)",
          "isSecret": true,
          "name": "IMAP_PASSWORD"
        },
        {
          "description": "Disable all mutating tools (send, move, delete, flags, labels, bulk ops, folder/label management)",
          "default": "false",
          "name": "READONLY"
        },
        {
          "description": "Refuse live sends to any recipient other than PROTONMAIL_USERNAME (for throwaway/QA accounts)",
          "default": "false",
          "name": "RESTRICT_OUTBOUND_TO_SELF"
        },
        {
          "description": "Allowlist directory enabling download_attachment.saveTo; when unset, attachments return as inline base64",
          "name": "ALLOW_FILE_DOWNLOAD_DIR"
        },
        {
          "description": "Register the empty_folder tool (not recommended)",
          "default": "false",
          "name": "ALLOW_EMPTY_FOLDER"
        },
        {
          "description": "Enable verbose logging to stderr",
          "default": "false",
          "name": "DEBUG"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...