Email Templates

Email templates allow admins to customize the content and appearance of every notification email sent by the system, without modifying code.

Template System

There are 12 email templates, each corresponding to a notification type. Templates are stored in the database and editable from the admin panel.

Available Templates

  • Welcome — sent after user registration
  • Email Verification — email verification link
  • Password Reset — password reset link
  • Password Changed — confirmation of password change
  • MFA Enabled — confirmation that MFA was turned on
  • MFA Disabled — confirmation that MFA was turned off
  • Invitation — organization invitation with join link
  • Member Joined — notification to admins when a member joins
  • API Key Created — confirmation of new API key
  • Subscription Activated — subscription start or renewal
  • Subscription Cancelled — subscription cancellation notice
  • Payment Failed — failed payment alert

Template Variables

Templates support variable placeholders that are replaced at send time:

  • {name} — the recipient's name
  • {email} — the recipient's email address
  • {org_name} — the organization name
  • {invitation_url} — the invitation acceptance link
  • {reset_url} — the password reset link
  • {verification_url} — the email verification link
  • {plan_name} — the subscription plan name
  • {app_name} — the application name (from settings)

Variables are context-dependent — each template type has access to a specific set of variables relevant to its event.

Admin Panel Management

From the admin panel, administrators can:

  • Edit the subject line and body of any template
  • Preview the rendered email with sample data
  • Test send the template to a specified email address
  • Reset a template back to its default content

Changes take effect immediately — no deployment or restart required.