Email Templates & Notifications
Mazecare integrates automated email delivery directly with clinical and scheduling events. This guide details how to create and configure email message templates, map them to appointment templates, and set up automated trigger-based notifications (including scheduled reminders).
Overview of Email & Notification Architecture
Mazecare's notification system connects reusable email layouts with appointment lifecycle triggers:
Detailed Step-by-Step Walkthrough
Step 1: Create Email Message Templates
Create and design reusable layouts for your client-facing and provider-facing emails:
- Log in to Mazecare as an Administrator or Staff member.
- Click the Global Search input box in the top-center navigation bar, or press the Cmd + K (Mac) or Ctrl + K (Windows/Linux) keyboard keys to focus the search field instantly.
- Type
templateoremailin the search bar and select Email Message Templates under the Settings category to open the email message templates page.

- On the templates list page, review existing templates or click the + New Email Message Template button to create a new one.

- In the template editor form:
- Template Name: Enter a descriptive name for internal identification (e.g.,
General Consultation Booking Confirmation). - Template Description: Provide internal documentation about the template's purpose and intended triggers.
- From Name: Specify the display sender name (e.g.,
Mazecare Medical ClinicorDr. Smith's Practice). - From Email: Preconfigured with the system's verified sending domain (e.g.,
admin@mazecare.com). - Subject: Enter the email subject line. Liquid variable tags can be inserted directly in the subject.
- Body: Compose the email content using the visual editor or switch to HTML Mode for advanced layouts.
- Template Name: Enter a descriptive name for internal identification (e.g.,

Step 2: Utilize Dynamic Liquid Placeholders
Mazecare supports dynamic Liquid tags in both the Subject and Body fields. Placeholders automatically resolve to context-specific appointment and entity data at send time:
| Dynamic Tag | Liquid Placeholder | Description | Example Output |
|---|---|---|---|
| Patient Name | {{patientName}} | Full name of the patient | John Doe |
| Patient Email | {{patientEmail}} | Primary contact email of the patient | john.doe@example.com |
| Doctor Name | {{doctorName}} | Primary attending physician's name | Dr. Michel Doe |
| Doctor Names | {{doctorNames}} | Comma-separated list of all assigned doctors | Dr. Michel Doe, Dr. Sarah Jenkins |
| Doctor Email | {{doctorEmail}} | Attending physician's contact email | michel.doe@example.com |
| Current Date | {{currentDate}} | Current formatted execution date | 14/08/2026 |
| Appointment Date | {{date}} | Scheduled start date of the appointment | 15/08/2026 |
| Start Time | {{startTime}} | Scheduled start time formatted in clinic timezone | 09:00 AM |
| End Time | {{endTime}} | Scheduled end time formatted in clinic timezone | 10:00 AM |
| Meeting Link | {{spaceUrlLink}} | Secure video consultation link (for virtual appointments) | https://cms-hk-dev.mazecare.com/... |
To insert tags:
- Type
@in the editor to trigger the auto-suggestion dropdown. - Alternatively, click any placeholder token in the editor suggestions sidebar to insert it at your cursor location.

Step 3: Preview and Send Test Emails
Before applying templates to production appointments, verify the rendered output:
- Click the Preview button in the template action bar to open the slide-over preview drawer.
- The preview automatically replaces all Liquid variables with realistic test data, allowing you to inspect sender headers, subject line, and layout.
- Under the Send Test Email section:
- Enter your personal or test recipient email address in the Recipient Email field.
- Click Send.
- Mazecare dispatches a live test email through the email delivery pipeline to confirm inbox rendering and styling.
- Click Save to persist the template.
Step 4: Configure Appointment Templates
Bind email templates to appointment templates so notification triggers fire automatically during scheduling:
- Click the Global Search input box (Cmd + K or Ctrl + K).
- Type
appointmentortemplatesand select Appointment Templates under Settings to open the appointment templates page.

- On the appointment templates page, select an existing template to edit or click + New Appointment Template.

- Configure general appointment parameters:
- Name & Description: Internal appointment template identifier.
- Appointment Title & Description: Default patient-facing title and clinical notes (supports Liquid tags).
- Duration: Default duration in minutes.
- Default Attendees: Pre-assign default doctors, equipment, locations, or branches.

Step 5: Add Automated Notification Triggers
Configure automated notification rules within the appointment template:
- Under the Appointment Details card, locate the Notifications panel.
- Click + Add notification template to launch the configuration modal.

- Set up the trigger parameters:
- Trigger Type:
- Appointment Created: Dispatches immediately upon booking/creating the appointment.
- Reminder: Schedules a pre-appointment reminder based on a time offset before the visit.
- Appointment Updated: Dispatches immediately whenever appointment details, timing, or attendees are modified.
- Reminder Offset (for reminders):
- Unit: Choose
Minutes(1 to 59 minutes) orHours(1 to 23 hours) prior to appointment start time.
- Unit: Choose
- Recipients: Select target recipient roles:
- Doctor: Sends notification to attending clinicians.
- Patient: Sends notification to the registered patient contact.
- Select both to notify doctors and patients simultaneously.
- Channel: Enable Email Notification (and/or In-App Notification).
- Template: Search and select the Email Message Template created in Step 1.
- Trigger Type:
- Click Confirm to attach the notification rule.
Step 6: Manage & Fine-Tune Template Notifications
Once notification triggers are added, manage or customize them directly from the appointment template:
- Active Notifications List: All configured trigger rules appear in the Notifications list with trigger badges, reminder intervals, recipient chips, and quick action controls.

- Customize Notification Settings:
- Click the Gear (Cog) icon on any notification row to open the full message customization modal.
- Switch between Email and In-App Notification tabs.
- Adjust the associated template, customize sender name, or override subject and body content specifically for this appointment template.

- Inline Trigger Adjustments:
- Change trigger types (
Reminder,Appointment Created,Appointment Updated) directly from the row dropdown. - Adjust reminder time values and units with automatic debounce saving.
- Toggle recipient checkboxes (
Doctor,Patient) on the fly.
- Change trigger types (
- Remove Notifications:
- Click the X (Remove) icon next to any notification row to delete the trigger rule from the appointment template.