Proton Mail Bridge

Proton Mail Bridge is a skill for Claude Code, Codex from 21-DOT-DEV/openclaw-skills. It costs 71 tokens per session (1,630 once invoked), scanned B, original, MIT.

A skill for managing Proton Mail through Proton Mail Bridge and the himalaya command-line tool. Bridge exposes the encrypted mailbox to local email connections on the same computer.

In plain words
What is it for?
It is for checking and organizing the inbox, drafting or replying to messages with human approval, sending mail, and diagnosing Bridge connectivity.
Why use it?
It gives an agent a local path to read, draft, send, sort, move, flag, and archive mail while keeping email operations routed through the Bridge connection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for checking and organizing the inbox, drafting or replying to messages with human approval, sending mail, and diagnosing Bridge connectivity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/21-dot-dev/openclaw-skills/proton-mail-bridge
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 21-DOT-DEV/openclaw-skills --skill proton-mail-bridge
Clone the repo
git clone --depth 1 https://github.com/21-DOT-DEV/openclaw-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Proton Mail Bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/21-dot-dev/openclaw-skills/proton-mail-bridge/github.svg)](https://agentmods.dev/skills/21-dot-dev/openclaw-skills/proton-mail-bridge)
Your own site
<a href="https://agentmods.dev/skills/21-dot-dev/openclaw-skills/proton-mail-bridge"><img src="https://agentmods.dev/badge/skills/21-dot-dev/openclaw-skills/proton-mail-bridge/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Proton Mail Bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/21-dot-dev/openclaw-skills/proton-mail-bridge"><img src="https://agentmods.dev/badge/skills/21-dot-dev/openclaw-skills/proton-mail-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,630 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.01630
Opus 5 $0.00036 $0.00815
Sonnet 5 $0.00014 $0.00326
Haiku 4.5 $0.00007 $0.00163

Measured 9d ago against content hash 7b50993ae6f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade B, and why

Proton Mail Bridge scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo dpkg -i protonmail-bridge_*.deb
skills/proton-mail-bridge/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Proton Mail Bridge

Proton Mail Bridge exposes your encrypted Proton Mail account as a local IMAP/SMTP server on 127.0.0.1. The himalaya CLI connects to Bridge's localhost ports, giving an AI agent JSON-based email operations — reading, replying, triaging, and organizing mail — without ever touching Proton's servers directly.

Architecture:

Proton servers ↔ Bridge (GUI app) ↔ localhost IMAP/SMTP ↔ himalaya CLI ↔ agent

Bridge runs as a GUI application, not in CLI mode, for email operations. The Bridge CLI (proton-bridge --cli) is an interactive shell used only for account management and cannot run alongside the GUI.

Purpose

Use this skill when an agent needs to:

  • Read and triage incoming email
  • Reply to or compose email (draft-first, human-approved)
  • Organize email (move, flag, archive)
  • Check Bridge connectivity and account status

Installation

macOS

  1. Install Bridge via Homebrew:

    brew install --cask protonmail-bridge
    
  2. Launch Bridge, log in with your Proton Mail credentials, and complete initial sync.

  3. Install himalaya — see references/himalaya-install.md for version-specific instructions (v1.1.0 has a known compatibility bug with Bridge).

  4. Copy the himalaya config template and fill in your details:

    cp <skill-path>/references/config-example.toml ~/.config/himalaya/config.toml
    

    See references/config-example.toml for all settings.

Linux

  1. Download Bridge from https://proton.me/mail/bridge#download:

    # Debian/Ubuntu
    sudo dpkg -i protonmail-bridge_*.deb
    sudo apt-get install -f
    
    # Fedora/RHEL
    sudo rpm -i protonmail-bridge-*.rpm
    
  2. Ensure a secret service is available (GNOME Keyring or pass) for Bridge credential storage.

  3. Launch Bridge, log in, and complete initial sync.

  4. Install himalaya — see references/himalaya-install.md.

Read the full file on GitHub · 191 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 191 lines · 71 tokens per session scan B 7b50993ae6f8

Subscribe to this mod's changes

Proton Mail Bridge is a skill published in the GitHub repository 21-DOT-DEV/openclaw-skills (2 stars, last pushed 6mo ago), licensed MIT. It adds 71 tokens to every session and 1,630 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.