Skip to content

Send Email Node

Availability: Test environment Needs the node switch, email sending and a configured email provider on together; otherwise publishing is refused and a run fails with DISABLED. Since 2026-11 /status

The node needs three platform switches to be on together (the node switch, email sending, and a configured email provider); with any of them off, publishing a workflow that contains it is refused and a live run fails with a DISABLED reason.

The send_email node queues a short, plain-text email through the platform’s email queue. It calls no language model. It is built to be safe to put in a workflow: it can only reach people it is allowed to reach.

See Workflow Overview for the node and edge envelope this fits into.

A recipient must be one of:

  • a verified, active member of your own workspace (a member whose email address has been verified), or
  • an address or domain on your workspace’s recipient allowlist, which only the workspace owner can change.

Any other address makes the whole node fail with a BLOCKED reason, before anything is queued. The failure message never names the address. There is no setting that allows free-form outside addresses.

The allowlist lives on the workspace, not on the node:

  • Exact match, lower-cased. No wildcards, and no sub-domains: acme.test allows anyone@acme.test, not anyone@mail.acme.test.
  • Public mailbox providers such as gmail.com cannot be allowed as a whole domain, only as single addresses.
  • At most 50 entries in total, domains and addresses together.
  • The owner edits it in the workspace app under Settings, Email recipients for workflows, or through the API (below).

An email to an outside person should sit behind an approval node. The diagnostics warn (SEND_EMAIL_UNGATED_RECIPIENT) when a to: { "var": ... } node has no approval upstream; the warning never blocks publishing.

FieldTypeRequiredDescription
tosee belowYesWho gets it.
subjectTemplatestringYesHandlebars over the run variables, rendered as plain text on one line (line breaks are removed). At most 300 characters as written and 150 once rendered.
bodyTemplatestringYesHandlebars over the run variables, rendered as plain text: no HTML, no attachments. At most 2000 characters as written and as rendered. The platform adds the sender and an automatic-message footer that cannot be removed.
idempotencyKeystringYesHandlebars rendered per send, at most 200 characters, for example order-{{orderId}}. The same key with the same recipients, subject and body sends once, even when a run is retried or resumed after an approval.
outputVarstringNoReceives { "queued": n, "skipped": n }: counts only, never an address.
timeoutMsintegerNoBound on the whole node, 1000 to 60000. Default 15000.

to is one of:

ValueMeaning
"owners"The workspace owners.
"members"Every active member with a verified address, at most 5. More than that fails the node.
{ "userIds": [12, 15] }Up to 5 members of this workspace, by user id.
{ "var": "notify_email" }The name of a run variable (no braces) holding one address or a list. Each address must be a verified member or on the allowlist, otherwise the node fails.

Text that is too long fails the node; it is never cut silently. A literal that looks like a credential in the subject or body raises the PLAINTEXT_SECRET_IN_CONFIG warning. The node also takes the common maxVisits field and mockResponse (see below).

{
"id": "tell_owner",
"type": "send_email",
"config": {
"to": "owners",
"subjectTemplate": "New order {{orderId}}",
"bodyTemplate": "Order {{orderId}} needs a follow-up.",
"idempotencyKey": "order-{{orderId}}",
"outputVar": "email_result"
}
}
LimitValue
Recipients per execution5
Different emails from one node in one run5
Workflow emails per workspace per rolling 24 hours20 by default (set by the platform)

Hitting a cap fails the node with a neutral LIMIT_REACHED reason. The message the user can see is a fixed neutral sentence, never a count or an address. A repeat of an earlier send (same idempotency key and content) answers from the record of the first and does not count against the cap again.

Add a failure edge (with a success edge) to handle a refusal or a queueing failure, like any failure-routable node. The engine never retries this node by itself.

Each send is recorded before it is queued, using the key built from your workspace, the workflow, the first run of a resumed chain, the node and a hash of the recipients, subject, body and your idempotencyKey. A run retried or resumed after an approval therefore queues the email once. A send whose outcome is unknown (the platform stopped between recording and queueing) is never sent again automatically.

A draft test and a mock run never resolve recipients, record anything or queue anything, whichever switches are on. A mock run returns { "queued": 0, "skipped": 0, "mocked": true } unless the node carries its own mockResponse.

Both operations are workspace owner only and use the signed-in owner’s login (a dashboard JWT). They are on the test environment with the node.

query EmailRecipientAllowlist {
emailRecipientAllowlist {
domains
addresses
}
}
mutation SetEmailRecipientAllowlist($input: SetEmailRecipientAllowlistInput!) {
setEmailRecipientAllowlist(input: $input) {
domains
addresses
}
}
{ "input": { "domains": ["acme.test"], "addresses": ["ops@partner.example"] } }

setEmailRecipientAllowlist replaces the whole list with the two lists you send (an empty list clears it). Entries are lower-cased and de-duplicated; a public mailbox provider as a whole domain, or more than 50 entries in total, is refused with BAD_USER_INPUT. The change is audited by field name only. A member who is not an owner gets FORBIDDEN. Setting the allowlist does not turn the node on; that is a platform switch.