Files

51 lines
1.7 KiB
Bash

# POP3 Configuration (supports multiple accounts)
# Format: POP3_ACCOUNT_N where N is 1,2,3...
POP3_ACCOUNT_1_HOST=pop.example.com
POP3_ACCOUNT_1_PORT=995
POP3_ACCOUNT_1_USER=user@example.com
POP3_ACCOUNT_1_PASSWORD=your_password
POP3_ACCOUNT_1_USE_SSL=true
# Add more accounts as needed
# POP3_ACCOUNT_2_HOST=pop.another.com
# POP3_ACCOUNT_2_PORT=995
# POP3_ACCOUNT_2_USER=user@another.com
# POP3_ACCOUNT_2_PASSWORD=another_password
# POP3_ACCOUNT_2_USE_SSL=true
# ── Bootstrap Settings (always from env, never from database) ──────
# DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/inbox_converge
# SECRET_KEY=<generate with: python -c 'import secrets; print(secrets.token_urlsafe(32))'>
# ENCRYPTION_KEY=<generate with: python -c 'import secrets; print(secrets.token_urlsafe(32))'>
# ── Settings below can also be managed via the database ────────────
# Use the admin API (PUT /api/v1/settings/{key}) to store them in
# PostgreSQL. Database values take precedence over env vars.
# Gmail/SMTP Configuration (fallback delivery method)
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USER=your-email@gmail.com
SMTP_PASSWORD=your-app-password
SMTP_USE_TLS=true
# Gmail API Configuration (preferred delivery method)
# GOOGLE_CLIENT_ID=your-google-client-id
# GOOGLE_CLIENT_SECRET=your-google-client-secret
# GMAIL_API_ENABLED=true
# Scheduling
CHECK_INTERVAL_MINUTES=5
MAX_EMAILS_PER_RUN=50
# Throttling (emails per minute)
THROTTLE_EMAILS_PER_MINUTE=10
# Application identity (used by frontend server components at runtime)
APP_NAME=InboxConverge
APP_URL=https://inboxconverge.com
CONTACT_EMAIL=christian@inboxconverge.com
# Logging
LOG_LEVEL=INFO