23 lines
647 B
Bash
23 lines
647 B
Bash
# Gmail OAuth credentials (Desktop app OAuth recommended)
|
|
GOOGLE_CLIENT_ID=
|
|
GOOGLE_CLIENT_SECRET=
|
|
GOOGLE_REFRESH_TOKEN=
|
|
|
|
# Mailbox to access. Use me to match authenticated account.
|
|
GMAIL_USER=me
|
|
|
|
# Comma-separated allowlist of recipient addresses.
|
|
# Only emails where To/Cc/Bcc contains one of these will be returned.
|
|
GMAIL_TO_ALLOWLIST=alerts@example.com,ops@example.com
|
|
|
|
# Optional default result count for list_messages
|
|
GMAIL_DEFAULT_MAX_RESULTS=20
|
|
|
|
# Telegram bot credentials (single bot + single chat)
|
|
TELEGRAM_BOT_TOKEN=
|
|
TELEGRAM_CHAT_ID=
|
|
|
|
# Optional Telegram server tuning
|
|
TELEGRAM_POLLING_INTERVAL_MS=1000
|
|
TELEGRAM_REQUEST_TTL_SECONDS=600
|