Mail access: IMAP + app password (IPv4 only), not Gmail API

This commit is contained in:
2026-10-11 18:40:16 +11:00
parent a69aaa3f80
commit 93f61d9aef
18 changed files with 1229 additions and 6 deletions

28
.env.example Normal file
View File

@@ -0,0 +1,28 @@
# Email Agent — environment variable names (values are NOT committed).
#
# Copy to `.env` for local Docker Compose use. In production these come from
# ~/.config/environment.d/10-secrets.conf (or the host environment) and are
# passed through by docker-compose.
#
# Secret values must never be committed to git.
# --- Runtime ---------------------------------------------------------------
EMAIL_AGENT_ENV=production
EMAIL_AGENT_PORT=8790
EMAIL_AGENT_ADDR=:8790
EMAIL_AGENT_DB_PATH=/data/email_agent.db
EMAIL_AGENT_LOG_LEVEL=info
EMAIL_AGENT_PUBLIC_BASE_URL=https://mail.lab.audasmedia.com.au
# --- Session / auth --------------------------------------------------------
# Generate with: openssl rand -hex 32
EMAIL_AGENT_SESSION_SECRET=change-me
# --- Integrations (used from later phases) ---------------------------------
JEV_BASE_URL=
JEV_API_KEY=
OMNIROUTE_BASE_URL=
OMNIROUTE_API_KEY=
EMAIL_AGENT_GMAIL_CREDENTIALS_FILE=
EMAIL_AGENT_GMAIL_TOKEN_FILE=
HUB_TOKEN=