init: Hermes ProtonMail Plugin — structure, README, plan, LICENSE

This commit is contained in:
Bernd (Hermes)
2026-05-05 21:47:53 +02:00
commit c3455aee90
5 changed files with 291 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
name: hermes-protonmail
version: 0.0.1
description: >
Hermes Platform Plugin for ProtonMail.
End-to-end encrypted email via Proton REST API — no Bridge, no GUI, headless.
author: Andreas Thomander
platform: protonmail
dependencies:
python_packages:
- requests
- bcrypt
- python-gnupg
- pgpy
- srp
system_packages:
- python3
- python3-pip
- python3-venv
entrypoint:
module: lib.adapter
class: ProtonMailAdapter
configuration:
env_prefix: PROTON_
required:
- username
- password
optional:
- twofa_secret
- refresh_token_path
- data_dir
- polling_interval
- rate_limit_max
- gpg_binary
files:
- lib/__init__.py
- lib/adapter.py
- lib/auth.py
- lib/crypto.py
- lib/api.py
- lib/sync.py
- lib/models.py
- scripts/proton_daemon.py