Close menu
Explore Plans
Mobile menu Close menu
MailerSend

Send email from template

This action will send a transactional email via MailerSend using a saved template.

Developer info

API endpoint slug
mailersend.send_email_from_template
Filter code method
Mailersend.sendEmailFromTemplate.skip(string?: reason)
Runtime method
runAction("mailersend.send_email_from_template", {})

Action fields

From domain Dropdown list

Label
From domain
Helper text
The verified MailerSend domain to send from.
Slug
from_domain_id
Required
true
Can have default value
false

Template Dropdown list

Label
Template
Helper text
A saved MailerSend template scoped to the From domain.
Slug
template_id
Required
true
Can have default value
false

To email Text input > Other

Label
To email
Helper text
Recipient email address.
Slug
to_email
Required
true
Can have default value
true

To name Text input > Other

Label
To name
Helper text
Optional display name for the recipient.
Slug
to_name
Required
false
Can have default value
true

Subject Text input > Title

Label
Subject
Helper text
Subject line for this send. Can reference template variables (e.g. Welcome, {{name}}!). MailerSend requires a subject even when a template is selected.
Slug
subject
Required
true
Can have default value
true

Template variables Text input > Long text

Label
Template variables
Helper text
One key=value pair per line. Each key is substituted into the template's {{key}} placeholders for this recipient. Example:name=Janeorder_id=12345
Slug
template_variables
Required
false
Can have default value
true
Filter code method
Mailersend.sendEmailFromTemplate.setTemplateVariables(string: template_variables)