Environment variables
Everything the CLI reads from .env.
The CLI reads .env from the folder you run it in. Every variable is optional until you need the feature behind it. Never commit .env.
These four variables turn on per-prospect mailboxes.
| Variable | Value |
|---|---|
LEAKDOWN_IMAP_HOST | Your IMAP server, e.g. imap.gmail.com |
LEAKDOWN_IMAP_USER | The inbox login |
LEAKDOWN_IMAP_PASS | An app password |
LEAKDOWN_MAIL_DOMAIN | A domain whose catch-all forwards to that inbox |
Website orders
These two variables let the CLI pick up requests from the website.
| Variable | Value |
|---|---|
LEAKDOWN_ORDERS_URL | The request site's production URL |
LEAKDOWN_ORDERS_TOKEN | The site's ORDERS_TOKEN |
LEAKDOWN_IMAP_HOST=
LEAKDOWN_IMAP_USER=
LEAKDOWN_IMAP_PASS=
LEAKDOWN_MAIL_DOMAIN=
LEAKDOWN_ORDERS_URL=
LEAKDOWN_ORDERS_TOKEN=Passed to your AI CLI
ANTHROPIC_API_KEY, OPENAI_API_KEY and their *_BASE_URL reach the AI CLIs if you set them. That path is untested.