How Variables Work
Variables are placeholders in curly braces that are replaced with real values at send time. Use them in both the subject line and the body.
Example:
Hi {client_name}, your invoice {invoice_number} is due on {invoice_due_date}.
Becomes:
Hi Sarah Chen, your invoice INV-0198 is due on 2026-05-01.
Not every variable is available in every template. The tables below show which variables belong to which context. Using a variable in a template where it is not available will result in the placeholder being left blank (or rendered as the literal {variable_name} text).
Global Variables
Available in all templates.
| Variable | Output |
|---|---|
{company_name} |
Your company name as set in Admin → Settings → General. |
{client_area_url} |
Full URL to the client portal (e.g., https://billing.example.com). |
Client Variables
Available in all templates sent to a client.
| Variable | Output |
|---|---|
{client_name} |
Full name of the client receiving the email. |
{client_email} |
Email address of the client. |
Invoice Variables
Available in: invoice_created, invoice_paid, invoice_overdue.
| Variable | Output |
|---|---|
{invoice_number} |
Invoice identifier (e.g., INV-0042). |
{invoice_total} |
Total amount of the invoice, formatted with currency symbol. |
{invoice_due_date} |
Due date of the invoice (formatted as per locale settings). |
{invoice_url} |
Direct URL to view the invoice in the client portal. |
Service Variables
Available in: service_activated, service_suspended.
| Variable | Output |
|---|---|
{service_name} |
Name of the product/service (e.g., Shared Hosting - Starter). |
{service_domain} |
Primary domain associated with the service. |
{service_expiry} |
Next renewal/expiry date of the service. |
Ticket Variables
Available in: ticket_reply.
| Variable | Output |
|---|---|
{ticket_id} |
Ticket number (e.g., #1042). |
{ticket_subject} |
Subject line of the ticket. |
{ticket_url} |
Direct URL to the ticket in the client portal. |
{ticket_reply} |
The full text of the staff reply that triggered this notification. |
Domain Variables
Available in templates related to domain registration and renewal events.
| Variable | Output |
|---|---|
{domain_name} |
The registered domain (e.g., example.com). |
{domain_expiry} |
Expiry date of the domain registration. |
Order Variables
Available in order confirmation templates.
| Variable | Output |
|---|---|
{order_id} |
Order reference number. |
{order_total} |
Total value of the order, formatted with currency symbol. |
Password Reset Variables
Available in: password_reset.
| Variable | Output |
|---|---|
{reset_url} |
The one-time password reset link. Expires after 60 minutes. |
[!WARNING] Always include
{reset_url}in thepassword_resettemplate body. If the variable is missing, the client receives the email but cannot reset their password.
Welcome Variables
Available in: welcome.
No event-specific variables beyond the global and client variables. Use {client_name}, {company_name}, and {client_area_url} to personalise the welcome message.
[!TIP] For the welcome email, consider including
{client_area_url}as a clear call-to-action button so new clients know where to log in.