Configure
Send email through Resend or an SMTP relay, and test it from Studio.
Kanesh sends invitations and password recovery email through Resend or any SMTP relay. Set it here or in Settings → Email, which also has a test send.
Choose a provider
| Variable | Default | What it does |
|---|---|---|
EMAIL_PROVIDER | smtp when SMTP_HOST is set | resend or smtp. Email is off while neither is configured. |
Resend
| Variable | Default | What it does |
|---|---|---|
RESEND_API_KEY | unset | API key from your Resend account. Prefer a mounted secret over plain text. |
Verify your sending domain in Resend first, then set the sender below to an address on that domain.
EMAIL_PROVIDER=resend
RESEND_API_KEY=re_YOUR_KEY
SMTP_FROM=noreply@yourdomain.com
SMTP_FROM_NAME=Kanesh SMTP relay
| Variable | Default | What it does |
|---|---|---|
SMTP_HOST | unset | Relay host, such as smtp.example.com. Email is off while it is empty. |
SMTP_PORT | 587 | Relay port. |
SMTP_TLS | starttls | starttls, tls or none. Credentials require starttls or tls unless the host is local. |
SMTP_USERNAME | unset | Login for the relay. |
SMTP_PASSWORD | unset | Password for the relay. Prefer a mounted secret over plain text. |
Sender
Used by both providers.
| Variable | Default | What it does |
|---|---|---|
SMTP_FROM | unset | Sender address, such as noreply@example.com. |
SMTP_FROM_NAME | Kanesh | Sender name shown in the inbox. |
A variable that is set wins over Studio and shows as read-only there. To save the SMTP password or Resend key from Studio, set SETTINGS_ENCRYPTION_KEY first; see Security.