EmailEmail templates

Write an email once and send it again and again

Templates hold the subject, content and fields of the emails your site sends often. Functions send them by name and fill in the variables, like a customer name or a booking date.

What you get

Variables that fill themselves

Add variables such as customer_name with a label and a sample value, mark the ones that are required, and they are replaced on every send.

Preview and test first

See the email as HTML and as plain text with sample values, then use Send test to get a copy in your own inbox before customers do.

Marketing done right

Mark a template as a marketing email and an unsubscribe link is added automatically, while order and booking emails go out without one.

How it works

  1. 1

    Step 1

    Create a template

    In Email, open Templates and click New template. Give it a title, a name in code and a subject.

  2. 2

    Step 2

    Write the content

    Write the HTML content and an optional plain text version, then add the variables the email needs with Add variable.

  3. 3

    Step 3

    Send it

    Pick it under Use a template when you write an email, or let a site function send it by name with the values filled in.

Frequently asked questions

How do I create an email template for booking confirmations?

Open Templates in Email, click New template and give it a name such as booking_confirmation. Add variables for the customer name and the date, write the content and check the Preview. The AI can also create it for you in the chat.

Can I change the name of a template later?

The title, subject and content can change at any time, but the name in code is permanent, because functions send the template by that name. Choose a clear English name in snake_case when you create it.

How many variables can one email template have?

Up to 50. Each variable has a key, an optional label and a sample value used in the preview and the test email, and you can mark any of them as required so no email goes out half filled.

Related features

Ready to try it?

Describe your business and get a real website in a few minutes, for free.

Create your site for free