Platform email templates (TenancyEngine)
Edit operator-facing notification emails sent by the TenancyEngine platform — organization invites today; identity notifications (verify, MFA, password reset) are scaffolded for a future release.
Console: TenancyEngine console → Settings → Email templates (/platform/email-templates)
Platform admins need Settings read / configure permissions.
Workflow
- Select a category in the left panel.
- Toggle Send this notification when triggered to enable or disable the category.
- Edit Subject (Scriban) and HTML body (inner content — layout wrapper applied at send).
- Save draft → Publish → Preview (inline iframe with sample data).
Categories marked Scaffold are listed for planning but cannot be edited until backend seeding ships.
Organization member invite (organization.member.invite)
Sent when an operator invites a teammate to an organization (new or existing account).
| Variable | Description |
|---|---|
org_name | Organization display name |
invitee_display_name | Invitee name (if known) |
inviter_label | Who sent the invite (falls back to "An administrator") |
sign_in_url | Console sign-in or set-password URL |
is_new_account | true when invitee must set a password |
temporary_password | Initial password (new accounts only; omit in copy when not set) |
primary_color | Platform brand CTA color |
html_encode | Scriban helper — wrap user text: {{ html_encode org_name }} |
Example subject: You've been invited to {{ org_name }} on TenancyEngine
When disabled, invite emails are skipped; the invite record may still be created — check audit logs for email.skipped.disabled.
Planned categories (scaffold)
| Category | Purpose |
|---|---|
identity.email_verify | Email verification at signup |
identity.mfa_code | One-time MFA code delivery |
identity.password_reset | Password reset link |
These will use the same draft → publish flow once SaaSRuntime triggers are wired to the platform template renderer.
Customer email vs platform email
| Audience | Product | Where to edit |
|---|---|---|
| End customers (portal, invoices) | TenaBill | TenaBill email templates |
| ISV operators (org invites) | TenancyEngine | This page |
| App merchant branding | TenaBill (via TE app panel) | TE Application → Email & notifications → Edit email templates |
Related
- Canonical spec: EMAIL-TEMPLATES-AND-BRANDING.md
- Identity & MFA overview: MFA & notifications