Send email
Sends an email with a subject, a message and files you attach — from Flowmage, or from your own Amazon SES account.
Settings
| Setting | What it is |
|---|---|
| SES account | Leave empty to send from Flowmage. Pick a connection to send from your own SES account and your own address. |
| From | The verified SES identity to send as, e.g. Flowmage <hello@yourcompany.com>. |
| ToRequired | At most 25 recipients across To, Cc and Bcc (SES allows 50). For a list from upstream, use {{ join(trigger.recipients, ", ") }}. |
| Cc | text |
| Bcc | text |
| Reply to | text |
| SubjectRequired | text |
| BodyRequired | Plain text by default, {{ }} expressions welcome. In HTML mode write the markup itself — nothing is escaped or rewritten, and a mail with HTML only is what leaves (add a text-only branch if you need both parts). With no connection, the mail goes from Flowmage's own address. |
| Body format | Plain text is safer and readable everywhere; HTML is sent exactly as written. No text part is derived from HTML. |
| Attachments | File name → content — use {{ file("report.pdf").base64 }} as the value. Up to 7 MB of attachments in total. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `aws-ses`) |
from | textused when `connection` is not "" |
to | text |
cc | text |
bcc | text |
replyTo | text |
subject | text |
body | text |
bodyFormat | "text" or "html", by default "text" |
attachments | object of text, by default {} |
Output
| Field | Type |
|---|---|
sent | boolean |
messageIdSES message id | string |
fromFrom (empty when Flowmage's own address was used) | string |
toTo addresses | array |
ccCc addresses | array |
bccBcc addresses | array |
replyToReply-to addresses | array |
subject | string |
bodyPreviewBody preview (capped) | string |
attachmentCount | number |
attachmentNamesAttachment file names | array |
Sample output, and the expression for each field
- attachmentCount1
- attachmentNames
- [0]"report.txt"
- bodyPreview"b"
- cc[]
- senttrue
- subject"s"
- to
- [0]"a@example.com"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"attachments": {},
"bcc": "",
"body": "<body>",
"bodyFormat": "text",
"cc": "",
"connection": "",
"from": "",
"replyTo": "",
"subject": "<subject>",
"to": "<to>"
},
"label": "Send email",
"type": "ses.send",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ToRequired | At most 5 recipients across To and Cc. For a list from upstream, use {{ join(trigger.recipients, ", ") }}. |
| Cc | text |
| SubjectRequired | text |
| BodyRequired | Plain text; {{ }} expressions welcome. The HTML variant is generated for you, and the mail is sent from Flowmage's own address. |
| Attachments | File name → content — use {{ file("report.pdf").base64 }} as the value. Up to 7 MB of attachments in total. |
Technical details
| Key | Value |
|---|---|
to | text |
cc | text |
subject | text |
body | text |
attachments | object of text, by default {} |