# mailpouch [Health: Active]

**Category:** 💬 Communication  
**Repository:** https://github.com/chandshy/mailpouch  
**GitHub Stars:** 17  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mailpouch

## Description
mailpouch — MCP server for Proton Mail. 69 tools, local-only, permission-gated agentic email access via Proton Bridge.

## Tools
Capabilities this server exposes over MCP:

- **get_thread**
- **get_correspondence_profile**
- **remind_if_no_reply**
- **list_pending_reminders**
- **cancel_reminder**
- **check_reminders**
- **autoStartBridge**
- **shutdown_server**
- **restart_server**
- **supervised**

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "mailpouch": {
    "command": "npx",
    "args": ["-y","mailpouch-settings"]
  }
}
```

## Documentation

## What mailpouch does

mailpouch gives MCP clients a structured interface to private email accounts through Proton Bridge's local IMAP and SMTP services, with plain IMAP supported as well. It is designed for local, user-controlled access rather than a hosted OAuth connector. Email is decrypted by Proton Bridge on the same machine, while mailpouch applies permission checks before exposing or executing operations.

The tool surface covers reading messages, composing and sending mail, drafts, folders, search, analytics, and system control. Optional groups for SimpleLogin aliases and Proton Pass appear only when those capabilities are configured. Up to 83 canonical tools and three always-available meta-tools are available, with progressive tool tiers limiting which tools appear in MCP tool discovery.

## How it works

The default transport is stdio, suitable for desktop MCP clients. An HTTP transport is also available for remote or self-hosted use. HTTP access uses OAuth 2.1 with PKCE for interactive clients and the OAuth client-credentials grant for headless agents. Dynamic client registration, protected-resource metadata, and resource indicators support the authorization flow.

Each connecting client receives a separate identity and grant. Permissions can restrict folders, bind access to an account or IP, cap tool rates, and expire automatically. The default preset is read-only; write operations require explicit opt-in. Agents can request higher privileges, but approval happens through the settings interface or terminal rather than through the agent itself.

Sensitive operations, including deletion, trash and spam moves, alias removal, and selected Proton Pass retrieval, require confirmation. Clients with MCP elicitation support receive an out-of-band prompt; other clients must provide a confirmed argument. Audit entries record hashed arguments instead of message or credential values.

## Setup and configuration

Install and run Proton Bridge, sign in, then add mailpouch to an MCP client with a command such as:

```json
{
  "mcpServers": {
    "mailpouch": {
      "command": "npx",
      "args": ["-y", "mailpouch"]
    }
  }
}
```

Configure the Bridge IMAP/SMTP username and password with `npx -y mailpouch-settings`, or use `npx -y mailpouch setup --username you@proton.me --password-stdin`. The password must be the Bridge password, not the Proton account login password. Credentials are stored in the operating system keychain, with configuration written to `~/.mailpouch.json`.

Run `npx -y mailpouch doctor` to check readiness. On first connection, approve the client in the local settings UI at `http://localhost:8766/#/agents`. The UI also provides setup, connection testing, per-tool controls, escalation approval, and agent approval. Node.js 22 or newer is required.

## Tools and capabilities

- Read, compose, send, and manage Proton Mail or IMAP messages.
- Create and manage drafts, folders, trash, and spam operations subject to permissions.
- Search locally with an FTS5 index supporting phrases, Boolean operators, prefixes, column filters, and BM25 ranking.
- Inspect mail analytics and use system-control tools.
- Configure optional SimpleLogin alias and Proton Pass tool groups.
- Dispatch signed webhooks with CloudEvents, Slack, or Discord formats and retry delivery.
- Send desktop notifications through native macOS, Linux, or Windows commands.

The local search database uses `~/.mailpouch-fts.db` as a base or legacy path, with account-specific indexes stored below derived private locations. Scheduled outbound messages persist in `~/.mailpouch-scheduled.json`; other message content is normally held in memory and cleared on restart.

## Limitations and notes

mailpouch is an unofficial third-party connection to Proton Bridge and is not affiliated with Proton AG. Proton's terms address automated access, so operators remain responsible for deciding whether their use complies with those terms. The project is designed around user-initiated operation, including a first-run terms acknowledgement and human approval for elevated access.

The HTTP transport is OAuth-only. Destructive actions depend on client confirmation support or the fallback confirmation argument. Local databases and scheduled-message files can contain sensitive information and should be protected or removed when appropriate.

_Full upstream README: https://allmcps.com/mcp/mailpouch/readme_

