Proton Bridge Email
by @boilerrat
Send email through Proton Mail Bridge (localhost SMTP) using age-encrypted credentials. Use when setting up Proton Bridge for an agent mailbox, encrypting Bridge credentials (no 1Password), or sending automated emails (daily reports, alerts) via Proton Bridge.
clawhub install protom-bridge-emailπ About This Skill
name: proton-bridge-email description: Send email through Proton Mail Bridge (localhost SMTP) using age-encrypted credentials. Use when setting up Proton Bridge for an agent mailbox, encrypting Bridge credentials (no 1Password), or sending automated emails (daily reports, alerts) via Proton Bridge.
Proton Bridge Email (age-encrypted)
Authored by Boilermolt + Boiler (Chris).
Use Proton Mail Bridge for local SMTP/IMAP and keep credentials encrypted at rest with age.
What this skill provides
scripts/send_email.pyscripts/encrypt_env.shreferences/proton-bridge-setup.mdExpected local secret location
This skill assumes the encrypted env file is at:~/clawd/secrets/proton.env.ageAnd your age identity is at:
~/.config/age/keys.txtThe encrypted file should contain at least:
PROTON_EMAILPROTON_BRIDGE_USERPROTON_BRIDGE_PASS (Bridge βUse this passwordβ, not your Proton web password)SMTP_HOST, SMTP_PORT, SMTP_SECURITYQuick start
1) Set up Proton Bridge (Linux) β see references/proton-bridge-setup.md.
2) Create a temporary plaintext env file (e.g., /tmp/proton.env), then encrypt it:
bash scripts/encrypt_env.sh /tmp/proton.env
3) Send a test email:
python3 scripts/send_email.py \
--to you@example.com \
--subject "Test" \
--body "Sent via Proton Bridge."
Notes / gotchas
.age encrypted file if you intend to.π‘ Examples
1) Set up Proton Bridge (Linux) β see references/proton-bridge-setup.md.
2) Create a temporary plaintext env file (e.g., /tmp/proton.env), then encrypt it:
bash scripts/encrypt_env.sh /tmp/proton.env
3) Send a test email:
python3 scripts/send_email.py \
--to you@example.com \
--subject "Test" \
--body "Sent via Proton Bridge."