Configure

Email

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

VariableDefaultWhat it does
EMAIL_PROVIDERsmtp when SMTP_HOST is setresend or smtp. Email is off while neither is configured.

Resend

VariableDefaultWhat it does
RESEND_API_KEYunsetAPI 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

VariableDefaultWhat it does
SMTP_HOSTunsetRelay host, such as smtp.example.com. Email is off while it is empty.
SMTP_PORT587Relay port.
SMTP_TLSstarttlsstarttls, tls or none. Credentials require starttls or tls unless the host is local.
SMTP_USERNAMEunsetLogin for the relay.
SMTP_PASSWORDunsetPassword for the relay. Prefer a mounted secret over plain text.

Sender

Used by both providers.

VariableDefaultWhat it does
SMTP_FROMunsetSender address, such as noreply@example.com.
SMTP_FROM_NAMEKaneshSender 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.

Next steps

Buy me a coffee