Email Templates
Customize the content and appearance of system-generated emails sent by SecureLink.
Available Templates
SecureLink uses email templates for the following system communications:
User Invitation
Sent when a new user (TenantAdmin or VPN user) is invited to the platform. The invitation link directs the user to the SecureLink /accept-invite?token=X page where they set their own name and password directly on the platform.
Email Verification
Template ID: email-verification (seeded as default). Subject: Verify your email for {{platform_name}}.
Sent automatically after a user completes the accept-invite flow. The link in this email goes to /email-verified?token=X. The user's account status changes from Inactive to Active once the link is clicked.
Available variables: platform_name, recipient_name, recipient_email, verify_url, expiry_date, support_email.
Password Reset
Template ID: password-reset (seeded as default). Subject: Reset your password for {{platform_name}}.
Sent by SecureLink's own email service when an administrator triggers a password reset from the Users page (Send password reset email action). The link goes to the SecureLink /reset-password?token=X page — not to Keycloak.
Available variables: platform_name, recipient_name, reset_url, expiry_date, support_email.
Device Alert Notification
Sent to administrators when an edge device triggers an alert condition (e.g., going offline, config sync failure, high error rate).
Certificate Expiry Warning
Sent when a TLS, MQTT, or edge communication certificate is approaching its expiration date. Includes the certificate name, expiry date, and instructions for renewal.
Template Editor
Each template can be customized using the built-in HTML editor:
- Navigate to Settings > System > Email Templates
- Select the template you want to edit
- Modify the HTML content in the editor
- Use the Preview tab to see how the email will render
- Click Save when satisfied
Available Variables
Templates support dynamic variables that are replaced with actual values when the email is sent:
| Variable | Description | Available In |
|---|---|---|
{{userName}} | Recipient's display name | All templates |
{{tenantName}} | Name of the associated tenant | All templates |
{{deviceName}} | Edge device name or serial number | Device Alert, Certificate Expiry |
{{alertType}} | Type of alert that triggered the notification | Device Alert |
{{alertMessage}} | Detailed alert description | Device Alert |
{{invitationLink}} | URL for the user to accept the invitation (/accept-invite?token=X) | User Invitation |
{{verify_url}} | URL for the user to verify their email (/email-verified?token=X) | Email Verification |
{{reset_url}} | URL for the user to set a new password (/reset-password?token=X) | Password Reset |
{{platform_name}} | Name of the platform (e.g., "SecureLink VSN+") | Email Verification, Password Reset |
{{recipient_name}} | Recipient's display name | Email Verification, Password Reset |
{{recipient_email}} | Recipient's email address | Email Verification |
{{expiry_date}} | Token expiry timestamp | Email Verification, Password Reset |
{{support_email}} | Platform support email address | Email Verification, Password Reset |
{{expiryDate}} | Certificate expiration date | Certificate Expiry |
{{orchestratorName}} | Name of this orchestrator instance | All templates |
Preview your changes before saving. Use the Send Test Email button in the template editor to send a sample email with placeholder data to verify formatting and delivery.
Removing required variables (like {{invitationLink}} from the User Invitation template) will result in non-functional emails. Always ensure critical variables remain in the template.