Navigate to Email Template Database
Click the “New” button in the database page.
Fill in the Subject and Body
Use placeholders such as ..NAME..
and ..EMAIL..
for dynamic content. For instance, if you are creating a template for an order confirmation email and want to include the customer’s name, you can write it like this:
Hi, ..NAME..
This is John Doe from JD Company.
This placeholder will be replaced with the value of the corresponding Notion property when you generate the email.
Open the database from which you want to send the email.
Open a page and click Add a property
Select Relation
Choose Email Templates
Click Add relation
Select the template you added.
You can switch the template here by clicking the plus button.
Enter the Notion property name for the email address field
(you can leave it blank if you don't need it)
In this tutorial, input Customer Email
in the To
field to dynamically insert the customer's email into the generated email.
Ensure you select the correct property type.
if you want to use relation property, see How do I configure relation types for email address fields such as To, CC, and BCC in Email Composer Helper?
Click Add Rule to add replace rule
Fill in the placeholder, Notion property name, and select the property type.
The Placeholder
is the variable name you added in the template, such as ..NAME..
.
This will replace ..NAME..
in the template with the value of the First Name
property in the database.
Do not include the double dots in the replace rules; they are added automatically.
After adding all the rules, click Generate Formula and then Copy.
Open your database and click Add property
Select Formula