[READ-ONLY] Mirror of https://github.com/metruzanca/proton-bridge-opencode-config. Just some config for using email mcp with protonmail bridge
0

Configure Feed

Select the types of activity you want to include in your feed.

Python 100.0%
1 1 0

Clone this repository

https://tangled.org/metru.dev/proton-bridge-opencode-config https://tangled.org/did:plc:yyjavmmccwj3zjxznggdzid2
git@tangled.org:metru.dev/proton-bridge-opencode-config git@tangled.org:did:plc:yyjavmmccwj3zjxznggdzid2

For self-hosted knots, clone URLs may differ based on your setup.



README.md

Email CLI#

Agent-optimized CLI for ProtonMail Bridge email operations.

Quick Start#

# Get inbox stats
python email_cli.py stats

# List unread emails
python email_cli.py list --unread

# Star an email
python email_cli.py star <email-id>

# Search emails
python email_cli.py search "query"

Files#

  • email_cli.py - Main CLI tool
  • opencode.json - MCP configuration for opencode
  • AGENT_DOCUMENTATION.md - Complete CLI reference
  • data/ - Generated reports and analysis data (gitignored)

Setup#

  1. ProtonMail Bridge must be running
  2. Install typer: pip3 install typer

Usage#

See AGENT_DOCUMENTATION.md for full command reference and JSON schemas.

MCP vs CLI#

  • MCP (via opencode): Simple read/send/delete operations
  • CLI (this tool): Full IMAP control including starring, complex searches, bulk operations

Use CLI for operations MCP cannot do (starring, flagging, complex filtering).