Email settings
The Email Settings page lets you customise the subject line and body of the transactional emails Better Comply sends to learners. The email provider and sender identity are configured by your operator at the infrastructure level.
Administrators (Quality Admin, HR Admin, Corporate Admin). Team leads cannot access this page.
Opening Email Settings
Navigate to Email Settings in the sidebar. The page loads the available email templates.
Available templates
| Tab | Purpose |
|---|---|
| Invitation | Sent when a new user is invited to Better Comply |
| Reminder | Sent to remind a learner that a training is coming due |
| Overdue | Sent when a learner has an overdue assignment |
Select a tab to edit that template. Each template has a Subject field and an Body field containing HTML.
Editing a template
- Select the template tab you want to change.
- Edit the Subject line text.
- Edit the Body HTML. The body is HTML - use standard HTML tags.
- Click Save to apply your changes.
The page shows the last-saved timestamp on the template card so you can see when it was last updated.
Previewing before saving
Click Preview (top right of the card) to switch from the HTML source view to a rendered preview. The preview substitutes placeholder values for the template variables so you can see how the email will look with real data. Click Edit to return to the source view.
Template variables
The following variables are available in both the subject and the body. Wrap the variable name in curly braces:
| Variable | Replaced with |
|---|---|
{app_name} | The product name (Better Comply) |
{user_name} | The learner's display name |
{training_name} | The name of the relevant training |
{due_date} | The assignment due date, formatted for the user's locale |
{invite_link} | The invitation acceptance link |
{training_link} | A direct link to the training |
Not all variables are meaningful in every template. For example, {invite_link} is only relevant in the Invitation template.
Email provider and sender identity
The from address, sender name, and email provider (Resend or console) are set by your operator as environment variables on the server. These are not configurable in the UI.
If no email API key is configured, Better Comply falls back to a console provider that logs messages to the server output instead of sending them. This is the default in development and staging environments with no provider set up. Emails will appear to send without error, but no message is actually delivered. Contact your operator to configure a real provider.
See Operations: email setup for the required environment variables.
How the weekly supervisor digest is handled
The weekly supervisor digest email is built server-side from a fixed localized template and is not editable through this page. Only the transactional learner emails (invitation, reminder, overdue) are customisable here. For information about the digest, see Weekly supervisor digest.
Related pages
- Weekly supervisor digest - Automated team status email
- Reports overview - Role access overview
- Operations: email setup - Configure the email provider and sender credentials