Send Mail Thread icon

Send Mail Thread

Send threaded SMTP replies (In-Reply-To/References), save to IMAP Sent, mark answered, move messages

Save Message to Sent

AI-generated

Summary

Append a raw RFC822 email message to the IMAP Sent folder. Supply the message as an input binary property or as text, optionally choose the Sent folder and whether to mark the saved message as seen.

Inputs

  • Sent Folder Override — Folder path to append the message to. Leave empty to use the configured Sent folder or the node’s automatic folder lookup and fallback.
  • Raw RFC822 Source (Binary Property) — Name of the input item’s binary property containing the complete raw RFC822 message. When set, this source takes precedence over the text field.
  • Raw RFC822 Source (Text) — Raw RFC822 message text, used only when the binary property name is empty. One of the binary source or this text must provide a message; otherwise the operation errors.
  • Mark as Seen — Whether to append the message with the IMAP \Seen flag. Defaults to true.

Output shape

A single JSON object per input item.

Returns the selected folder path, the appended message UID (or null if the server provides no UID), and the message size in bytes. With Continue On Fail enabled, failures are returned as an error field in the item JSON.

Examples

Example 1: Save a raw message from an upstream binary field

Set Raw RFC822 Source (Binary Property) to the binary property name, such as data. Optionally set a Sent folder override and choose whether the message should be marked as seen.

Links

Discussion