Skip to main content

Email Templates

LumoAuth sends transactional emails for authentication events, invitations, and security notifications. Customize these templates to match your brand and messaging.


Managing Templates

Navigate to /t/{tenantSlug}/portal/configuration/email-templates to view and edit all email templates.


Available Templates

TemplateTriggerDescription
WelcomeUser registrationWelcome message for new users
Email VerificationRegistration / email changeLink to verify email address
Password ResetPassword reset requestLink to reset password
InvitationAdmin invites a userLink to accept invitation and create account
MFA CodeEmail MFA challengeOne-time code for email-based MFA
Account LockedBrute force detectionNotification that account was locked
Login from New DeviceNew device detectionAlert about login from unrecognized device
Password ChangedPassword changeConfirmation of password change
Suspicious ActivityHigh risk eventAlert about unusual login activity

Customization Options

Content

Each template supports:

ElementDescription
SubjectEmail subject line
Body (HTML)Rich HTML email content
Body (Text)Plain text fallback

Template Variables

Use variables in your templates to insert dynamic content:

VariableDescriptionExample
{{ user.firstName }}User's first nameAlice
{{ user.lastName }}User's last nameSmith
{{ user.email }}User's emailalice@acme.com
{{ tenant.name }}Tenant display nameAcme Corporation
{{ action_url }}Action link (verify, reset, etc.)https://...
{{ code }}One-time code (for MFA)123456
{{ expiration }}Link expiration time24 hours
{{ ip_address }}Requesting IP192.168.1.100
{{ device }}Device informationChrome on macOS
{{ location }}Approximate locationNew York, US

Branding

SettingDescription
LogoYour company logo displayed in the email header
Primary ColorButton and accent colors
FooterCustom footer text (company name, address, unsubscribe)

Example: Custom Verification Email

<h1>Welcome to {{ tenant.name }}!</h1>

<p>Hi {{ user.firstName }},</p>

<p>Please verify your email address to complete your registration.</p>

<a href="{{ action_url }}" style="background: #4F46E5; color: white; padding: 12px 24px; text-decoration: none; border-radius: 6px;">
Verify Email
</a>

<p>This link expires in {{ expiration }}.</p>

<p>If you didn't create this account, you can safely ignore this email.</p>

Email Delivery

LumoAuth handles email delivery and supports:

FeatureDescription
SMTPConfigure a custom SMTP server
Rate limitingPrevent email flooding
Delivery trackingMonitor send success/failure

Configure email delivery settings at /t/{tenantSlug}/portal/configuration/email-templates.