Skip to main content

Mail Templates

Mail templates editor

Mail templates control the content of every automated email sent by Kazinex Workflows — from workflow step assignments to transmittal acknowledgement reminders. Well-configured templates ensure recipients receive clear, actionable, project-branded messages.


System mail template types

Template keySent when
workflow_assignedA workflow step becomes active and the assignee is notified
step_response_receivedA step response is submitted (sent to the workflow initiator)
workflow_completedThe final step is completed
step_overdueA step passes its due date without a response
transmittal_issuedA transmittal is issued to a recipient
transmittal_acknowledgement_reminderA recipient has not acknowledged within the required-by window
transmittal_acknowledgedA recipient acknowledges a transmittal (sent to the issuer)
correspondence_receivedCorrespondence is sent to a recipient
correspondence_overdueCorrespondence passes its response due date
guest_share_createdA guest share is created and sent to the external reviewer
guest_share_expiringA guest share is within 48 hours of expiry
member_invitedA user is invited to join a project

Template scope hierarchy

Mail templates can be configured at three levels:

  1. System default — built-in Kazinex templates. Applied if no override exists.
  2. Organisation override — configured by Org Admin. Applies to all projects unless a project override exists.
  3. Project override — configured by Project Admin. Applies only to this project.

The most specific level wins. If a project override exists for transmittal_issued, it takes precedence over the org-level template.


Variable substitution

Templates use {{variable.name}} syntax for dynamic content. Variables are resolved at send time from the context of the event.

Sender variables

VariableValue
{{sender.name}}Display name of the user who triggered the action
{{sender.email}}Email address of the triggering user
{{sender.role}}Project role of the triggering user

Recipient variables

VariableValue
{{recipient.name}}Display name of the email recipient
{{recipient.email}}Email address of the recipient
{{recipient.role}}Project role of the recipient

Document variables

VariableValue
{{document.number}}Document number (e.g., DEMO-CIV-DWG-001)
{{document.title}}Document title
{{document.revision}}Current revision identifier
{{document.status}}Current document status
{{document.discipline}}Document discipline
{{document.type}}Document type

Workflow variables

VariableValue
{{workflow.name}}Workflow template name
{{workflow.step_name}}Name of the current step
{{workflow.step_type}}Step type (Review, Approve, etc.)
{{workflow.instructions}}Instructions set when the workflow was started
{{workflow.due_date}}Due date of the current step (formatted per recipient timezone)

Transmittal variables

VariableValue
{{transmittal.number}}Transmittal reference number
{{transmittal.subject}}Transmittal subject line
{{transmittal.purpose}}Purpose (For Approval, For Review, etc.)
{{transmittal.issued_date}}Date the transmittal was issued
{{transmittal.required_by}}Response required-by date
{{transmittal.document_count}}Number of documents in the transmittal

Correspondence variables

VariableValue
{{correspondence.reference}}Correspondence reference number
{{correspondence.type}}Type (RFI, NCR, TQ, etc.)
{{correspondence.subject}}Subject line
{{correspondence.priority}}Priority (Low, Medium, High, Critical)
{{correspondence.due_date}}Response due date

Project and date variables

VariableValue
{{project.name}}Full project name
{{project.reference}}Project reference code
{{date.today}}Today’s date (recipient timezone)
{{action_url}}Direct link to the relevant record

Editing a mail template

  1. Go to Settings → Mail Templates (org-level) or Settings → Mail Templates (project-level).
  2. Select the template to edit from the list on the left.
  3. The editor shows two fields:
    • Subject — the email subject line. Variables can be used here too.
    • Body — the full email body. Plain text is supported; some organisations use basic HTML (if enabled in settings).
  4. Edit the content using variables from the reference table above.
  5. Click Save Draft.
  6. Use Preview to see the rendered email with sample variable values.
  7. Use Send Test to send a test email to your own address.
  8. Click Activate to make the override live.

Disabling a mail type

To stop a specific email type from being sent (e.g., step_overdue reminder is handled by a third-party system instead):

  1. Open the template in the editor.
  2. Toggle Enabled to off.
  3. Save. No emails of this type will be sent at the configured scope level.

If you disable at project level, the system default still fires for other projects.


Best practices

  • Always include {{action_url}} so recipients can click directly to the relevant record.
  • Use {{workflow.instructions}} in the workflow_assigned template to pass the document controller’s instructions directly into the email.
  • Keep subject lines short (max 80 characters) to prevent truncation in mobile email clients.
  • Avoid process rules in template bodies that conflict with the workflow step instructions — the step instructions are the authoritative source.
  • Test every template after editing by using the Send Test function before activating.