Email account setup — Hermes gateway + Himalaya CLI
Overview
Two components for email:
A. Hermes email gateway adapter (built-in platform plugin)
The email-platform plugin at plugins/platforms/email/ is already in the codebase but not configured. It polls IMAP and replies over SMTP using plain password auth.
Prerequisites:
EMAIL_ADDRESS,EMAIL_PASSWORD,EMAIL_SMTP_HOST,EMAIL_IMAP_HOSTenv vars in~/.hermes/.env- Gmail accounts need an app password (requires 2-Step Verification enabled)
jeffhermesbot@gmail.comhas OAuth2-only (no 2FA) — would need 2FA enabled + app password created
Accounts to wire:
jeffhermesbot@gmail.com— bot/OAuth2 account (primary for agent email)yodaqs@gmail.com— personal account (optional, secondary)
Decision needed: enable 2FA on jeffhermesbot@gmail.com to get an app password, or use a different account that supports plain password auth.
B. Himalaya CLI (terminal mail client, OAuth2 path)
Separate from the Hermes gateway — for direct terminal read/send/manage of mail with OAuth2 (no 2FA needed).
Prerequisites:
- Rust toolchain (
rustup) - Build Himalaya from source with
--features oauth2(prebuilt binary lacks OAuth2) - Google Cloud project: Gmail API enabled, OAuth consent screen (External), test user = the Gmail address, Desktop-app client ID/secret
- Authorization code flow → token exchange → persistent refresh token
oauth_helper.py,oauth_secret.json,oauth_tokens.json,config.tomlin~/.config/himalaya/
Status: Nothing installed yet — no Rust, no Himalaya, no config.
C. WordPress → Azure migration context
- jeff-svr is a cloud VM that’s switched off when not in use (cost saving).
/backlog/and/ideas/WordPress pages on jeff-svr cannot be updated while the VM is off.- Content is migrating to Azure: Hugo-based static site at
https://purple-bay-0f7b15903.7.azurestaticapps.net/(Azure SWA, Free tier, West Europe, GitHubQueEss101/hermes-notesrepo).