Skip to main content

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:

  1. Navigate to Settings > System > Email Templates
  2. Select the template you want to edit
  3. Modify the HTML content in the editor
  4. Use the Preview tab to see how the email will render
  5. Click Save when satisfied

Available Variables

Templates support dynamic variables that are replaced with actual values when the email is sent:

VariableDescriptionAvailable In
{{userName}}Recipient's display nameAll templates
{{tenantName}}Name of the associated tenantAll templates
{{deviceName}}Edge device name or serial numberDevice Alert, Certificate Expiry
{{alertType}}Type of alert that triggered the notificationDevice Alert
{{alertMessage}}Detailed alert descriptionDevice 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 nameEmail Verification, Password Reset
{{recipient_email}}Recipient's email addressEmail Verification
{{expiry_date}}Token expiry timestampEmail Verification, Password Reset
{{support_email}}Platform support email addressEmail Verification, Password Reset
{{expiryDate}}Certificate expiration dateCertificate Expiry
{{orchestratorName}}Name of this orchestrator instanceAll templates
tip

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.

caution

Removing required variables (like {{invitationLink}} from the User Invitation template) will result in non-functional emails. Always ensure critical variables remain in the template.