Email templates
Live previews of every transactional email the Hub sends. All delivery through Resend.
Enrollment code for customer
Sent to customer's IT contact with a blank-installer code.
enrollment_code
Enrollment code for customer
Sent to customer's IT contact with a blank-installer code.
enrollment_code
Preview
Subject: Your Reign Zero enrollment code: ACME-23F4
Send a test
Sample data
{
"code": "ACME-23F4",
"customer_display": "Acme Design Co",
"expires_at": "2026-05-14T00:00:00",
"recipient": "ops@acme.example"
}
Welcome new customer
Sent on contract signing; portal link + next steps.
welcome
Welcome new customer
Sent on contract signing; portal link + next steps.
welcome
Preview
Subject: Welcome to Reign Zero, Acme Design Co
Send a test
Sample data
{
"customer_display": "Acme Design Co",
"portal_url": "https://manage.reignzero.com/portal/acme-design",
"primary_contact": "Jim Tallman"
}
APNs renewal reminder
Automated 30-day warning before APNs cert expires.
apns_renewal
APNs renewal reminder
Automated 30-day warning before APNs cert expires.
apns_renewal
Preview
Subject: [Action needed] Apple MDM cert renewal for Acme Design Co
Send a test
Sample data
{
"customer_display": "Acme Design Co",
"days_remaining": 30,
"renewal_date": "2026-05-14"
}
Ticket reply notification
Customer gets this when a staff member replies on their ticket.
ticket_reply
Ticket reply notification
Customer gets this when a staff member replies on their ticket.
ticket_reply
Preview
Subject: Re: [4532] FileVault not enabled on jims-macbook
Send a test
Sample data
{
"customer_display": "Acme Design Co",
"portal_url": "https://manage.reignzero.com/portal/acme-design/tickets/4532",
"preview": "Pushing a remediation profile now via MDM \u2014 you\u0027ll see a prompt to enable FileVault in about 60 seconds.",
"ticket_number": 4532,
"ticket_subject": "FileVault not enabled on jims-macbook"
}
Lost / stolen device confirmation
Customer-facing note confirming lock/wipe + next steps.
device_lost
Lost / stolen device confirmation
Customer-facing note confirming lock/wipe + next steps.
device_lost
Preview
Subject: [Urgent] jims-macbook locked
Send a test
Sample data
{
"action": "locked",
"contact": "14:22 UTC",
"customer_display": "Acme Design Co",
"hostname": "jims-macbook"
}
Wired-in template uses today:
enrollment_code— fires when the codes page form includes an Email-to addresswelcome— manual trigger from here after customer contract signsapns_renewal— TODO wire to a cron job firing at T-30/T-7 daysticket_reply— TODO wire to staff replies on /tickets/*device_lost— TODO wire to /hosts/*/lock actions
To add a new template, add a render_* function to email_templates.py and register it in TEMPLATES. It shows up here automatically.