Editing Emails & Layouts

Step by step – change the words and images in an email template, and change the header and footer (the layout) wrapped around your emails.

Every email PurposeTech sends has two parts:

  • The template – the message itself: subject, greeting, shift details, sign-off.
  • The layout – the header and footer wrapped around the template, such as a banner image at the top and your address at the bottom. One layout is usually shared by many templates.

To change what an email says, edit the template. To change the banner, logo or footer on your emails, edit the layout. Both live under Messaging > Email Templates. For an overview of the templates and when each one sends, see Email & Messaging.

Before you start

  • Who can do this. Owners and Volunteer Admins can edit templates, edit and save layouts, and upload images. Only Owners can create a new template or a new layout.
  • The assistant needs AI access. The editors include an assistant that makes changes from a plain-English request. AI features are switched on per organisation by PurposeTech support (see AI Assistant). Without them you can still edit a template's HTML or a layout's MJML source by hand, as described below.
  • Your own email server. Template changes are blocked when your campaign sends through the shared PurposeTech email server and Use campaign email templates is off, because that server only sends the standard emails. Turn on Use campaign email templates or connect your own Postmark account first (see Sender address).

Edit an email template

The template editor with a live preview of the welcome email on the left and the Assistant on the right proposing one added line, with Approve and Apply and Reject buttons
The template editor. The preview is on the left and the assistant's proposed change is on the right.
  1. Go to Messaging > Email Templates and stay on the Templates tab.
  2. Click the template you want to change. Its panel opens on the right, on the Preview tab.
  3. Click Edit at the top of the panel. The editor opens with a live preview on the left, marked rendered.
  4. Click Edit in the editor's top bar if the Assistant pane is not showing on the right.
  5. Type what you want changed in the box at the bottom of the assistant (Paste new copy or describe a change…) and press send. For example: "Add a line after the shifts asking people to bring a water bottle and a sunhat", or paste a whole new paragraph and say where it goes.
  6. The assistant replies with a card listing each proposed change, with the old text struck through and the new text highlighted. The preview shows the email with the change.
  7. Click Approve & Apply to save it, Reject to throw it away, or the Regenerate button (circular arrows) to ask for another attempt.

Approving saves the template straight away. If the template is enabled, the next email it sends uses the new version.

Change the subject line

The Subject field sits under the editor's top bar. Click it, type the new subject and save it there. You can also ask the assistant to change the subject.

Add or replace an image in a template

  1. In the assistant, click Attach at the bottom left of the message box.
  2. Pick an image from your library, or choose Upload new image. You can also paste an image into the message box or drag one onto it.
  3. Say where it should go, for example "Put this photo above the sign-off, full width", and send.
  4. Review the preview and click Approve & Apply.

Check it on a phone

Use the Desktop preview and Mobile preview buttons at the top right of the preview to see the email at both widths.

Edit without the assistant

Click the code button (Edit raw HTML) in the editor's top bar, change the HTML, then click Save HTML. This suits small, exact fixes such as a link address.

A template saved through Edit raw HTML no longer picks up later layout changes, because it is stored as finished HTML. If you edit a template this way, send a test after any layout change to check its header and footer.

Send yourself a test

  1. Close the editor and, in the template's panel, click Send test.
  2. Under Imitated user, choose the kind of person the email should be written for (for example Volunteer), tick whether they have shifts, or search for a real person.
  3. Under Recipient Emails, enter your address. You can send to up to five addresses, separated with ; or ,.
  4. Click Send Test Email.

Every recipient must be an admin in your organisation. Any other address fails with Recipient is not an admin. If your designer is not an admin, send the test to yourself and forward it, or ask an Owner to add them as an admin.

The test uses real merge data, so you can check names, shift tables and links before a volunteer sees the email.

Undo a change: version history

Every approved change is saved as a new version.

  1. In the editor, open Version history at the bottom.
  2. Find the version you want. Each row shows its number, subject, date and who made it.
  3. Click Compare to see what is different from the current version.
  4. Click Restore to bring that version back. Restoring adds a new version, so nothing is lost.

Turn the email on

A template only sends while it is enabled. In the template's panel, switch the toggle in the bar under the title to Enabled and confirm. A template that still holds only its starter text cannot be enabled.

The header and footer around your emails come from a layout. Change the layout once and every template linked to it picks up the new header and footer. This is the place to swap a banner image, update a logo, or change the address and links in the footer.

The Layouts tab of Email Templates, showing two layout cards with small previews, each with the number of templates that use it and when it was last edited
The Layouts tab. Each card shows how many templates use the layout.

Find the right layout

  1. Go to Messaging > Email Templates and open the Layouts tab.
  2. Each card shows a small preview, the layout's name, and how many templates use it. Pick the one with your current header.

If you are not sure which layout a template uses, open the template from the Templates tab. The Layout pill in the bar under its title names the layout.

Replace the header image

  1. Upload the new banner first (see Upload images). Emails are usually 600 pixels wide, so a banner 1200 pixels wide stays sharp on high-resolution screens.
  2. On the Layouts tab, click the layout. It opens with a preview marked rendered wrapper.
  3. The Assistant pane is already open on the right. If you have switched to Preview in the top bar, click Edit to bring it back.
  4. Click Attach and pick the new banner from your library, or choose Upload new image.
  5. Type what you want, for example "Use the attached banner as the header image, full width. Keep the footer as it is." and press send.
  6. Check the preview. Use the desktop and mobile buttons at the top right of the preview to see both widths.
  7. Click Approve & Apply. The layout is saved and the editor closes.
The layout editor showing a new banner image in the rendered wrapper preview, the body placeholder below it, the footer, and the Assistant proposing the update with Approve and Apply
Replacing the header banner. The green dashed box marks where each template's own content goes, and lists the templates that use the layout.

The same steps work for other changes to the wrapper: "Change the footer address to PO Box 1042, Nelson 7040", "Make the header background our brand purple, #5B3FA8", or "Add links to our Facebook and Instagram in the footer".

Change the layout without the assistant

  1. Open the layout and click the code button (Edit MJML source) in the top bar.
  2. Find the header image. It is an mj-image tag, and the image address is in its src="...".
  3. Replace that address with the new image's URL. Copy the URL from the Images tab with Copy URL.
  4. Click Save MJML.

The source must keep the {{{@content}}} placeholder, which is where each template's content goes. Save MJML stays greyed out until it is there.

Which emails change

  • Click Used by N templates in the layout's top bar to list the templates linked to it. The count includes templates in every campaign on your site.
  • Saving the layout re-deploys the linked templates in the campaign you have open, straight away.
  • Templates in your other campaigns keep the old header and footer. Saving the same layout again from another campaign does not update them, because the layout has not changed. If you need them updated, contact support.
  • Templates last saved through Edit raw HTML, and older templates that have never been edited in the editor, keep their old header and footer (see the warning above).
  • A template with no layout is not affected.

Check with a test email

After saving the layout, go back to the Templates tab, open one of the templates that uses it, and click Send test. Check the header, the footer and the links in your own inbox, on a phone as well as a computer.

Undo a layout change

In the layout editor, open Version history at the bottom and click Restore on the version you want. Restoring re-applies that version to the linked templates.

Point a template at a different layout

  1. Open the template and click Edit.
  2. In the editor's top bar, choose a layout from the layout list. The preview shows the template inside it.
  3. Click Apply layout to keep it, or Discard to go back.

You can also change it from the Layout pill in the template's panel.

For a template last saved through Edit raw HTML, or one that has never been edited in the editor, choosing a layout saves the link straight away, with no preview and no Apply layout or Discard. The email itself does not change until the template is next edited with the assistant.

Create a new layout (Owners)

On the Layouts tab, click Create New Layout or the Create with AI card, describe the header and footer you want, and approve the result. New layouts are not used by any template until you link one, as above.

Upload images

Images for emails live in a library shared by all the templates on your site. Each site (tenant) has its own library, so an image uploaded on one is not available on another.

  1. Go to Messaging > Email Templates and open the Images tab.
  2. Click Upload Image and choose the file. JPG, PNG, WebP, GIF and SVG are accepted, up to 10MB each.
  3. Hover over an image and click Copy URL if you need its address, for example for the MJML source.

Any image in the library can be picked with Attach in either editor. Many mail apps, including Gmail and Outlook, do not show SVG images, so use PNG or JPG for headers and logos.

Common questions

Our designer has a new header. What do they need to send us?

A PNG or JPG banner, ideally 1200 pixels wide, with any text in the image large enough to read on a phone. Upload it on the Images tab and follow Replace the header image.

Saving the layout showed "Couldn't update templates".

The layout saved, but the templates named in the message could not be re-deployed, so those emails still have the old header and footer. Try saving the layout again. If the same templates are named again, contact support and tell us which ones.

I changed the layout but a test email still shows the old header.

Check that the template is in the layout's Used by list, that you sent the test from the same campaign, and that the template was not last saved through Edit raw HTML. If all three are true and it still shows the old header, contact support.

Can I change the header for one email only?

Yes. Create a second layout with the different header (Owners), then point that one template at it.

Next steps

Signed-in customers can ask questions about the docs. Log in