TemplatesHealth and care

Secure message email template

Tells a patient a message is waiting in their account, without putting it in email.

From
Northwind <[email protected]>
Subject
You have a new message from Meadowbank Health Centre
Preview text
Sign in to read it. For your privacy, it is not in this email.
Preview of the Secure message template
secure-message.txt
Sign in to read it. For your privacy, it is not in this email.

{{clinicName}}

You have a new message

{{senderName}} sent you a message.

For your privacy, we do not put messages in email. Sign in to read it and reply.

Sign in to read [{{signInUrl}}]

We never ask for your password by email. If you are unsure about this email, sign in the way you usually do instead of using the button.

You are receiving this because you have an account with {{clinicName}}.

Shown with sample values. The HTML and plain-text tabs keep the placeholders.

About

When to send it

Send it whenever a clinician or the care team writes to a patient through your portal. The email says who wrote but never what they said, and asks the reader to sign in to read and reply.

4 values to fill

What each send fills in

Required values have to come with every send. The rest fall back to the default shown here.

PlaceholderKindRequiredDefault
{{clinicName}}TextRequiredNone
{{senderName}}TextOptionalYour care team
{{signInUrl}}LinkRequiredNone
{{unsubscribeUrl}}LinkOptionalNone

API

Send it from your code

Create a template from this design once, then send it with the values for each message.

import { init, nextmail } from '@nextmail/sdk' init({ apiKey: process.env.NEXTMAIL_API_KEY }) await nextmail.templates.create({  name: 'Secure message',  slug: 'secure-message',  starter: 'secure-message',  publish: true,}) const sent = await nextmail.templates.send('secure-message', {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    clinicName: 'Meadowbank Health Centre',    signInUrl: 'https://example.com/patients/sign-in',  },}) console.log(sent.id, sent.status)

Health and care

More templates like this

Preview of the Appointment confirmed template

Appointment confirmed

Confirms an appointment with the clinician, the place or video link, and what to bring.

6 styles
Preview of the Appointment reminder template

Appointment reminder

A reminder of an upcoming appointment that asks the patient to confirm or reschedule.

6 styles
Preview of the Prescription ready template

Prescription ready

Tells a patient a prescription is ready to collect, with a reference and pickup hours.

6 styles
Preview of the Enrolment confirmed template

Enrolment confirmed

Confirms a place on a course, with the start date and the details of the first lesson.

6 styles

Start from one

Pick a design, change anything,
and send it from your code.

Every template opens in the editor as blocks you can move, restyle or delete, and sends through the API with the values filled in.