Skip to main content
Coming Soon — Email functionality is defined in the codebase but is not fully operational yet. This page documents the intended configuration for when email support is completed.

Overview

ondoki uses email for:
  • Account verification — confirm email address after registration
  • Password reset — send reset links
When SMTP is not configured, email features are disabled and users are auto-verified on registration.

Configuration

VariableDefaultDescription
SR_SMTP_HOST(empty)SMTP server hostname. Leave empty to disable email
SR_SMTP_PORT587SMTP port (587 for STARTTLS, 465 for SSL)
SR_SMTP_USERSMTP authentication username
SR_SMTP_PASSSMTP authentication password
SR_FROM_EMAIL[email protected]Sender email address

Example Configuration

Gmail

SR_SMTP_HOST=smtp.gmail.com
SR_SMTP_PORT=587
SR_SMTP_USER=[email protected]
SR_SMTP_PASS=your-app-password
SR_FROM_EMAIL=[email protected]
Gmail requires an App Password when 2FA is enabled.

Amazon SES

SR_SMTP_HOST=email-smtp.us-east-1.amazonaws.com
SR_SMTP_PORT=587
SR_SMTP_USER=your-ses-smtp-username
SR_SMTP_PASS=your-ses-smtp-password
SR_FROM_EMAIL=[email protected]

Resend

SR_SMTP_HOST=smtp.resend.com
SR_SMTP_PORT=587
SR_SMTP_USER=resend
SR_SMTP_PASS=re_your_api_key
SR_FROM_EMAIL=[email protected]

Disabling Email

To disable email entirely, leave SR_SMTP_HOST empty (the default). When disabled:
  • Users are automatically verified on registration
  • Password reset is not available (users must contact an admin)