Skip to main content

Email Builder

The Email Builder allows users to create Jinja-based HTML email templates for distribution. When an email is sent from Docwize, the template is populated with document metadata and other dynamic values from the floating toolbar. Templates can be set as the default for specific action types — for example, transmittal distributions or action requests.

Who configures this

Users with access to the New module. The Email Builder is accessible from New > Custom Fields & Configuration > Email Template Builder.

Email Templates

When users navigate to the Email Builder, they see the Email Templates screen listing all existing templates.

Email Template Builder button

Email Templates screen

Email Templates screen

ControlDescription
Search templatesFilters the template list by name.
View inactiveToggle to show inactive (disabled) templates in the list.
Create New TemplateOpens the template editor to create a new template.
Template nameThe name of the email template.
Default forShows which action type this template is set as the default for. Displays None if not set as a default.
Set No Default (dropdown)Associates the template with an action type, making it the default email sent for that action. Click to select or change the association.
Send (paper plane icon)Opens the template tester to send a test email.
Delete (trash icon)Removes or deactivates the template.

Create New Email Template

Clicking Create New Template opens the template editor. The editor shows an Oliver assistant panel alongside the live template, so users can describe changes in chat and see the template update as they're made, in addition to editing fields directly.

Email template editor showing the Oliver assistant panel alongside the live template

Email template editor with Oliver assistant panel

FieldDescription
Oliver panelAn AI assistant that opens the template for editing and can apply changes described in chat.
Template NameThe name of the template. Required.
SubjectThe email subject line. Recipients see this as the email subject. Jinja references can be included.
Action type dropdownSets this template as the default for a specific action type (e.g. Action Request, Distribution).
SaveSaves the template.
CancelCloses the editor without saving.
Doc number to test / Recipient email address / Send TestSends a test email using the specified document and recipient, without saving.
CodeToggles the template view between the rendered preview and the underlying HTML with Jinja references.
Download Filename BuilderConfigures the filename structure for documents downloaded from this email.
Filename formatSelects the columns used to build the download filename.

Editing an existing template

Clicking a template row in the Email Templates screen — rather than Create New Template — opens a standalone editor for that template. This editor shows the template fields and a live preview directly, without the Oliver assistant panel. Click Edit with Oliver to switch to the assisted editing experience described above.

Standalone email template editor with live preview

Standalone email template editor

FieldDescription
Edit with OliverSwitches to the Oliver assistant panel for this template.
Template NameThe name of the template. Required.
SubjectThe email subject line. Jinja references can be included.
Action type dropdownSets this template as the default for a specific action type (e.g. Action Request, Distribution, Late Notification, User Invitation).
Live previewRenders the template. Displays a notice that it is showing the raw template until a document number is entered below to preview with real data.
Sample dataRenders the template against auto-generated sample document data, showing how all merge fields will appear without requiring a specific document number.
Doc number to test / Recipient email address / Send TestSends a test email using the specified document and recipient, without saving.
CodeToggles the template view between the rendered preview and the underlying HTML with Jinja references.
CancelCloses the editor without saving.
SaveSaves the template.

Previewing with sample data

Click Sample data to render the template against auto-generated sample document data. This preview shows exactly how all merge fields and conditional logic will appear in the final email, without needing to manually enter a specific document number.

Email template preview rendered with sample data

Template rendered with sample data

The preview displays a message at the top indicating the base document used for the sample render (e.g., "Sample data render — base document: GH/00194"). If the template references custom fields that do not exist in the sample document, the preview notes this in the message (e.g., "no custom-field templates referenced"). Standard document fields always render in the preview.

How to build an email template

StepDescription
1Navigate to New > Custom Fields & Configuration > Email Template Builder.
2Click Create New Template and enter a Template Name and Subject.
3In the HTML editor, write or paste the email HTML. Insert Jinja references from the floating toolbar where dynamic values should appear.
4Optionally set the action type dropdown to make this the default template for a specific action.
5Configure Download Filename Builder if a specific filename structure is required for downloaded attachments.
6Click Save.
7Optional: click the Send (paper plane icon) on the template listing to send a test email and confirm the output is as expected.

Troubleshooting

IssueDetail
Jinja fields not populatingConfirm that the field references in the template match the available variables. Use the floating toolbar to insert references rather than typing them manually.
Template not appearing as the default for an actionCheck the Set No Default dropdown on the template and confirm it is set to the correct action type. Only one template can be the default per action type.
Recipients receiving the wrong templateCheck whether another template is set as the default for the same action type.
Preview not matching sent emailSome email clients render HTML differently. The preview is indicative only — test by sending a test email using the Send icon.