# Email Templates With Fill In Fields for Your Website

> Save reusable emails for bookings, orders and welcome messages. Add variables that fill in on every send, preview the result and send a test to yourself first.

- Canonical URL: https://uebfaqe.ai/features/email-templates
- Section: Features one by one
- Language: en
- Publisher: Uebfaqe (https://uebfaqe.ai)

## Summary

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.

## Key facts

- 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.

Write an email once and send it again and again

## How it works

1. **Create a template**: In Email, open Templates and click New template. Give it a title, a name in code and a subject.
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. **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

- [Automatic emails](https://uebfaqe.ai/features/automatic-emails): Functions and scheduled tasks send email on their own, like a note to you for every new order or a confirmation to the customer.
- [An email address for every site](https://uebfaqe.ai/features/website-email-address): Each site gets an email address named after it, which you can change a few times, with no outside service.
- [Functions](https://uebfaqe.ai/features/serverless-functions): Add actions that really run, like sending a form or working out a price, written by the AI.

---

Source: https://uebfaqe.ai/features/email-templates
