Email Templates
What email templates are and why they help
An email template is a saved, ready-to-send email for your Company. You write the recipients, subject and body once, and project data such as the customer's name and the project address is filled in automatically each time the template is used on a project.
Templates save time and keep your wording consistent. Staff stop retyping the same message, nothing gets forgotten, and workflow emails can go out on their own when a Milestone is reached.
Company email templates are used in two places: the Project Email composer, where you pick a template to fill in the email, and Company Milestones, where a Workflow template is sent automatically when the Milestone is used on a project.

Quick start
- Open Company Settings and, under the Projects heading, choose Email Templates.
- Click the green plus icon at the top of the list, or open the action menu and choose Add template. The Create Email Template dialog opens.
- In Details, enter an Email name, choose a Type, and click Save.
- The Email Content section now appears. Click + Add recipient and pick who the email goes to.
- Enter a Subject (required) and a Body. Use Insert data stub to drop in project data.
- Click the Save button in Email Content.
- Use it: choose the template in a Project Email, or pick it on a Company Milestone (Type Workflow).

Finding and managing templates
The Email Templates list shows Name, Type, Subject and Status (Active in green, Inactive in red). Date Created and Date Updated are available as optional columns. Click any row to open the template.
The action menu offers Add template, Import templates, Print and Export. Use Filter to narrow the list by Company, template type, status, and Date Created or Date Updated.
Details
The Details section holds the template's identity. Click Save in this section to save it. A new template must be saved here before the Email Content section appears.
- Email name (required): the name you see in the list and in the Project Email template picker.
- Type (required): General project, Estimate, Invoice/Statement, Material Order, Proposal, Work Order or Workflow. The type decides which options are offered in Email Content. Templates for a Company Milestone must be the Workflow type.
- Description (optional): what the template is for.
- Status: Active or Inactive. Inactive templates are not offered on Company Milestones.
Once saved, the section also shows Created by, Date created, Date updated and ID.

Email Content
Recipients
Recipients are who the email goes to. You can save a template without them, but an email with no recipients will not send from a Company Milestone. Click + Add recipient to open the Pick a contact dialog. It has four sections; click a section to open its list, then click a name to add it:
- User: a specific user, shown on the template as "User: Name (email)".
- Company Role: whoever holds that role on the project when the email is made, shown as "Role: name".
- Company Team: every member of the team, shown as "Team: name".
- Contact: choose First listed customer account contact, All customer account contacts (every contact on the project's customer account), First listed project contact or All project contacts, or type in the Search for a contact box to add one specific contact.
Each section keeps its own list, which scrolls when it is long. Recipients already on the template are left out of the lists. Click Cancel to close the dialog without adding anyone. To remove a recipient, click the red trash icon beside it and confirm.


Sender
The Sender is who the email comes from. Leave it empty (the field shows Current active user) and the email is sent from the user who sends it. You can also click the field and pick a Company Role, so the email comes from whoever holds that role on the project. Set to Current User clears the field back to the default.
Subject and Body
Subject is required. Body is the message text. Both accept data stubs.
Click Insert data stub beside either field to open the Insert Data Stub dialog, which lists the Project Data Fields. Click a field and its code, in curly braces such as {Customer First Name}, is added to the end of the text. When the template is used on a project, each stub is replaced with that project's data. Stubs that have no data for a project are left as written, so review the email before sending.

Options
- Include Auto Signature: adds the sender's email signature to the end of the body.
- Attach Order PDF and Attach Calendar Invite: shown only for the Work Order and Material Order types.
- Include BASYS Payment Links: shown only for the Invoice/Statement type. Adds a "Pay Online" link for each of the project's invoices that still has a balance.
Click Save in Email Content to store your changes.

Where templates are used
Project Email
In the Project Email composer, pick a template in the Email Template field. The To, Cc and Bcc recipients, Subject and Body are filled in with that project's data, and you can edit anything before sending. Your own name is added to Cc. Your Company's templates are listed under General Project Templates; templates set up for installers and suppliers appear under Work Order Templates and Material Order Templates.
Company Milestones
On a Company Milestone's email setting, the Email Template list offers your Active templates of type Workflow. When the Milestone is used on a project, the email is sent to the template's recipients with the project data filled in. A template that still contains a retired Customer Portal stub is not sent.
Installer and Supplier ordering
Emails for installers (Work Orders) and suppliers (Material Orders) are set up on the installer or supplier record, under Company Email Templates. They appear in the Project Email template list under the Work Order and Material Order groups.
Usage
The Usage section shows where the template is in use: each Company Milestone that uses it (click one to open it) and the project Milestones that use it. When it is not used, it reads "This email template is not part of any Company Milestones" and "This email template is not part of any Project Milestones".

Utilities
- Copy Template: makes a duplicate named "[name] COPY" with the same type, subject, body, options and recipients, and opens it. Check the Sender on the copy.
- Delete Template: after you confirm, deletes a template that is not in use. A template used by a Company or Project Milestone is not deleted; it is made Inactive instead.

Import templates
To reuse templates from another Company you belong to in the same account, choose Import templates from the action menu on the Email Templates list. Tick the templates you want and click Import checked. Templates whose name already exists in this Company are skipped. Recipients are copied when they also exist in this Company; the message after the import tells you how many were copied and how many were not.
Troubleshooting
- The template is not in the Milestone's list. Cause: it is Inactive, or its Type is not Workflow. Fix: set Status to Active and Type to Workflow.
- "no recipients resolved for email template". Cause: the template has no recipients, or none of them has an email address. Fix: add recipients and check their email addresses.
- "Customer Portal retired - template not sent". Cause: the Subject or Body still has a {Customer Portal Username} or {Customer Portal Password} stub. Fix: remove it.
- Deleting made the template Inactive. Cause: it is used by a Milestone. Fix: remove it from the Milestone first, then delete it.
- A recipient was not copied on import. Cause: that user, role or team does not exist in this Company. Fix: add the recipient to the imported template with + Add recipient.