Open-source mail MCP server adds OpenPGP end-to-end encryption, seeks security review
Soft-Lie-434 · reddit · 2026-11-18
The maintainer of the open-source GigaMail MCP mail server shipped a beta end-to-end encryption feature and is asking the community for security review:
- Implementation: OpenPGP over PGP/MIME (RFC 3156) built on Sequoia (pysequoia); the subject is encrypted too via protected headers
- No key handling: outgoing mail carries the public key in an Autocrypt header, so after one ordinary exchange encryption works with any correspondent or Autocrypt client (Thunderbird, Delta Chat)
- Fails closed: mail requested as encrypted is never sent in clear — missing keys or Bcc recipients abort the send; replies to encrypted mail are always encrypted; opened mail stays searchable in a local archive while the provider only stores ciphertext
- MCP-specific risk: the agent reads decrypted text, so plaintext reaches whatever model provider you connected — encryption is end-to-end between mailboxes, not to the model
Open questions: Autocrypt's trust-on-first-use model (the author already found and fixed two bugs), interop with Delta Chat/K-9/Proton, whether an agent may quote decrypted text to third parties, and backup strategy for a passphrase-less local key. Code and tests are open-sourced.
More from coding & agent
- Agent Manager: a weekly agent that audits all your other agents, with sample prompt — nlarusstone · 2026-11-18
- Solo game studio runs ~20 AI teammates, goes from 50 to 1,900 PRs/week and 6x revenue — gdechichi · 2026-11-18
- Blueframe: A Browser Canvas for Wireframing UI Structure Before AI Builds It — nima_owji · 2026-11-18
- Neo4j Open-Sources Relate: An Embedded Rust Graph Database with Built-in Agent Memory — JeremyCMorgan · 2026-11-18
- Beyond UX: AX and UAX are the new product layers in the agent era — yenkel · 2026-11-18
- Floot Design launches: compare six app versions on one canvas in ChatGPT — CodeByPoonam · 2026-11-18