Docs

Auth emails

Every email Sovaria sends your users, the template key and placeholders for each, how to customize them by plan, sending limits and sending from your own domain.

Updated Nov 12, 2026

Sovaria sends these emails to your app’s users on your behalf. They carry your project name, and their links open your Site URL or an allowed redirect URL (Magic links and email codes). Each has a template key you can customize.

EmailSent whenTemplate keyPlaceholders
Confirm your emailSign-up, when email confirmation is requiredemail_verificationconfirmation_url, email, ttl_hours
Reset your passwordA reset is requested for an existing accountpassword_resetreset_url, email, ttl_minutes
Sign-in link and codeA magic link is requestedmagic_linkmagic_link_url, otp_code, ttl_minutes
Verification codeA code is sent as a second factormfa_challengecode
Password changedAfter a password change or resetpassword_changedchanged_at, ip
New sign-inA sign-in from a device not seen beforenew_sign_indevice, ip, signed_in_at
Confirm email change (old address)A user changes their emailemail_change_confirm_oldconfirm_url, new_email
Confirm email change (new address)After the old address confirmedemail_change_confirm_newfinalize_url, new_email
InvitationYou invite a user from the console or the admin APIinvite_userinvite_url

Every template can also use {{ project_name }}.

Email settings pageEmail settings page
Users › Email: send through your own SMTP server, and edit each template (custom templates on paid plans).

#Customize the templates

On plans that include custom email templates (plan key custom_email_templates), edit the subject, HTML body and plain-text body of each email under Users › Email. Placeholders are written {{ name }}; values are escaped, so a user’s name can never inject HTML into the message. Reset goes back to Sovaria’s default. On other plans the defaults are used and editing answers PLAN_CUSTOM_EMAIL_TEMPLATES_REQUIRED.

# Change the magic link email (owner or admin token, or the service key)
curl -X PUT "https://<project-ref>.sovarias.in/api/v1/auth/email-templates/magic_link" \
  -H "Authorization: Bearer $TOKEN" -H "Content-Type: application/json" \
  -d '{"subject": "Sign in to {{ project_name }}",
       "body_html": "<p>Your code is <b>{{ otp_code }}</b>, or <a href=\"{{ magic_link_url }}\">sign in here</a>. It works for {{ ttl_minutes }} minutes.</p>",
       "body_text": "Your code is {{ otp_code }}. Sign in: {{ magic_link_url }}"}'

# Back to the default
curl -X DELETE "https://<project-ref>.sovarias.in/api/v1/auth/email-templates/magic_link" -H "Authorization: Bearer $TOKEN"

#Send from your own domain

Under Users › Email, turn on custom SMTP so emails come from your domain and are not limited by Sovaria’s shared sender. Credentials are encrypted at rest. Settings for Resend, SendGrid, Mailgun, Amazon SES, Brevo and Postmark are in Email relays (SMTP).

#Sending limits

Each project sends at most 500 auth emails per hour by default (Users › Rate limits › Emails sent), and one address at most a fifth of that, plus per-address limits for magic links and password resets. Your plan’s daily and monthly email allowance applies on top when you use Sovaria’s sender; with custom SMTP only these limits apply. All of them are sliding windows: they count the last hour (or five minutes) from now, so a burst around the top of the hour can’t get twice the limit through.

#Security alerts

New-sign-in and password-changed emails are on by default. Turn them off under Users › Security & JWT › Security alert emails if your app sends its own.

#Coming from Firebase or Supabase?

PlatformWhat this is called there
FirebaseFirebase Auth email templates
SupabaseSupabase Auth email templates
SovariaAuth emails

Moving an existing app? Migrate from Supabase or Firebase imports users (with their passwords), data, files and rules.