Email One-Time-Passwords
MailFlow Relay uses email-based login, we do not manage passwords for users.
Configuring the OTP Emails
You can customize the email send for login requests
using templating. You may customize the email from name (default: norepy@), the subject line and the body.
You can also configure the priority for these signup emails using config.auth.otp.email.priority. It is
recommended to have these emails at high priority over all forward jobs to prevent expiry before delivery.
Templaing variables reference
You can use the values in the table below in your email by using mustace templaing syntax.
| Value | Description |
|---|---|
| appName | App name as configured in config.ui.app.name. |
| link | GGenerated one-click signin link derived from config.server.domain.web, the otp-code and user-provided email. |
| code | The raw 6-digit OTP-code. |
| expiresIn.en | Humanized string version of config.auth.otp.expiry.inSeconds in the english language. |
| expiresIn.de | Humanized string version of config.auth.otp.expiry.inSeconds in the german language. |