Close menu
Explore Plans
Mobile menu Close menu
MailerSend

Send an email

This action will send a transactional email via MailerSend.

Developer info

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

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

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

From email Text input > Other

Label
From email
Helper text
Optional. Must belong to the From domain selected above. If left blank, the domain's default sender is used.
Slug
from_email
Required
false
Can have default value
true

From name Text input > Other

Label
From name
Helper text
Optional display name for the sender.
Slug
from_name
Required
false
Can have default value
true

Subject Text input > Other

Label
Subject
Helper text
Subject line for the email.
Slug
subject
Required
true
Can have default value
true
Filter code method
Mailersend.sendAnEmail.setSubject(string: subject)

Text body Text input > Long text

Label
Text body
Helper text
Plain-text body. Rendered as-is by mail clients that don't render HTML.
Slug
text_body
Required
true
Can have default value
true
Filter code method
Mailersend.sendAnEmail.setTextBody(string: text_body)

Html body Text input > Long text

Label
HTML body
Helper text
Optional HTML body. If provided, mail clients with HTML support will render this instead of the text body.
Slug
html_body
Required
false
Can have default value
true
Filter code method
Mailersend.sendAnEmail.setHtmlBody(string: html_body)