AgentMail icon

AgentMail

Email API for AI Agents - Create inboxes, send/receive emails, and more

Actions13

Message → Send

AI-generated

Summary

Sends an email from the selected AgentMail inbox to one recipient. The request includes the required subject and plain-text message; an optional HTML body is also sent when provided and may override the plain-text body in supporting email clients.

Inputs

  • Inbox Name or ID (required) — Select the inbox to send from, or provide its ID with an expression.
  • To (required) — Recipient email address. The node sends this as a single recipient.
  • Subject (required) — Email subject line.
  • Message (required) — Plain-text email body.
  • HTML Body — Optional HTML email body. When set, it is included alongside the plain-text body; the UI describes it as taking precedence in clients that support HTML.

Output shape

A list of output items containing the AgentMail API response as JSON.

The node makes one send request per input item and pairs each response with its input item. With Continue On Fail enabled, a failed item produces an output containing an error message.

Links

Discussion