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. Contains the invitation link that directs the user to set up their Keycloak credentials.

Password Reset

Triggered when a user requests a password reset. This email is sent through Keycloak and contains a secure link to the Keycloak password reset flow.

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 invitationUser Invitation
{{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.