Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,14 @@ EMAIL_USERNAME=your_email@example.com
EMAIL_PASSWORD=your_app_password
IMAP_SERVER=imap.migadu.com
IMAP_TIMEOUT_SECONDS=10.0
# Onboarding email sending for /onboarding-email send=true
ONBOARDING_EMAIL_SMTP_SERVER=smtp.migadu.com
ONBOARDING_EMAIL_SMTP_PORT=465
ONBOARDING_EMAIL_SMTP_USE_SSL=true
ONBOARDING_EMAIL_SMTP_STARTTLS=false
ONBOARDING_EMAIL_SMTP_USERNAME=onboarding@508.dev
ONBOARDING_EMAIL_SMTP_PASSWORD=your_app_password
ONBOARDING_EMAIL_SENDER_EMAIL=onboarding@508.dev
# Intake form resume URL fetch guardrails
INTAKE_RESUME_FETCH_TIMEOUT_SECONDS=20.0
INTAKE_RESUME_MAX_REDIRECTS=3
Expand Down
12 changes: 12 additions & 0 deletions ENVIRONMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,18 @@ current precedence rules.
- `Required when EMAIL_RESUME_INTAKE_ENABLED=true`: `EMAIL_USERNAME`, `EMAIL_PASSWORD`, `IMAP_SERVER`
- Note: resume intake writes LinkedIn URLs to `cLinkedIn`, leaves the intake-completed field unset, and matches resume filenames using `resume,cv,curriculum`.

## Onboarding Email Sending

- `Optional`: `ONBOARDING_EMAIL_SMTP_SERVER` (falls back to `SMTP_SERVER`; for Migadu use `smtp.migadu.com`)
- `Optional`: `ONBOARDING_EMAIL_SMTP_PORT` (falls back to `SMTP_PORT`; default: `465`)
- `Optional`: `ONBOARDING_EMAIL_SMTP_USE_SSL` (falls back to `SMTP_USE_SSL`; default: `true`)
- `Optional`: `ONBOARDING_EMAIL_SMTP_STARTTLS` (falls back to `SMTP_STARTTLS`; default: `false`; use only when SSL is disabled)
- `Optional`: `ONBOARDING_EMAIL_SMTP_USERNAME` (falls back to `EMAIL_USERNAME`)
- `Optional`: `ONBOARDING_EMAIL_SMTP_PASSWORD` (falls back to `EMAIL_PASSWORD`)
- `Optional`: `ONBOARDING_EMAIL_SENDER_EMAIL` (default: `onboarding@508.dev`)
- `Optional`: `ONBOARDING_EMAIL_SMTP_TIMEOUT_SECONDS` (default: `20.0`)
- Note: `/onboarding-email` is limited to Steering Committee+ or the candidate's designated CRM onboarder. `send=true` sends from the configured sender address with the command sender's name as the display name, and sets `Reply-To` to the command user's CRM-linked email or the explicit `reply_to_email` option.

## Discord Bot Core

- `Optional`: `BACKEND_API_BASE_URL` (default: `http://127.0.0.1:8090`; `./scripts/dev.sh` overrides it to the worktree web/API port, Compose injects `http://web:8090`)
Expand Down
Loading