For the complete documentation index, see llms.txt. This page is also available as Markdown.

How to use a custom HTML email template

This guide shows you how to replace the default Guestway email layout with your own HTML, so that guest emails match your brand.

Before you start

  • You can edit the branding profiles of your organization.

  • You have your email layout in HTML.

Turn on the template

1

Open the branding profile

Go to Settings → Organization → Branding, and open the branding profile that you want to change.

2

Choose the emails

Under Custom email templates, tick the card of the emails that you want to change:

  • Reservation emails: emails tied to a reservation.

  • Inquiry emails: emails without a reservation.

The card now shows Custom, and the template starts with {{messageBody}}.

Write the template

1

Open the editor

On the card, click Edit HTML.

2

Add your HTML

Paste or write your HTML in the editor. Put {{messageBody}} where the message must go. It must be in the template at least once, otherwise the email would be sent without its message.

3

Add variables

If you want guest, reservation or property details in the layout, find them with Search variables... in the variables panel, and add them to your HTML. Guestway fills them in when it sends the email.

4

Check the preview

Check the result in Live preview. The preview uses sample data.

If you want to see the email in a real email client, click Open in mail client. This downloads a file that you can open in Outlook, Apple Mail or another desktop email client.

5

Apply the template

Click Apply.

Save your changes

1

Save the branding profile

Click Save changes. For a new profile, click Create branding. The template is stored only when you save the profile.

To go back to the default Guestway layout, untick the card and save the profile. Your custom template is removed.

Troubleshooting

What do I do when the editor says that the template is too large?

A template can have at most 60,000 characters. Remove parts of the HTML that you do not need, for example large inline styles, and try again.

Why does the preview say "Fix the errors in your custom email template to refresh this preview."?

Check that the template contains {{messageBody}} and that it is not too large. Then the preview refreshes.

  • Branding: all fields of a branding profile, with the limits of the email templates.

  • Domains: send your emails from your own domain.