email

email sends email notification. It accepts JSON object with all parameters required to send an email.

{% capture email_params %}
{
"subject": "Dummy",
"replyTo": "[email protected]",
"html": "<h2> Hello! </h2>",
"attachments": [
{
"filename": "test.csv",
"content": "name,last_name \n john,smith"
}
]
}
{% endcapture %}
{{ email_params | email }}

Your email body can contain html. Also it is possible to send attachments of max size 10 MB.

In case of trial subscription, each email sent will use 50 credits. For subscribed users this action will use 1 credit.