Unitalk Gmail icon

Unitalk Gmail

Consume the Gmail API with Unitalk

Thread → Reply

AI-generated

Summary

Reply to a specific message in a Gmail thread, using the thread ID and message ID to identify the message to reply to, and configure recipients, sender, content, and attachments via node parameters.

Inputs

  • threadId (required) — The ID of the thread containing the message to reply to.
  • messageId (required) — The ID or snippet of the message within the thread to reply to, selected via a dropdown loaded from the thread.
  • emailType (required) — Format of the reply message: 'text' for plain text or 'html' for HTML content.
  • message (required) — The body of the reply message. Uses the expression editor for advanced text or HTML composition.
  • options.attachmentsUi — Attachments to include in the reply, specified as binary data fields from input nodes (comma-separated field names per attachment).
  • options.ccList — Comma-separated list of email addresses to CC on the reply.
  • options.bccList — Comma-separated list of email addresses to BCC on the reply.
  • options.senderName — Custom name to display as the sender (e.g., 'Nathan'). If omitted, the authenticated user's email address is used.
  • options.replyToSenderOnly — When true, replies only to the original sender (excludes all other recipients). Mutually exclusive with 'replyToRecipientsOnly'.
  • options.replyToRecipientsOnly — When true, replies to all original recipients (To and CC) but excludes the sender. Mutually exclusive with 'replyToSenderOnly'.

Output shape

An object containing the sent message metadata from the Gmail API, including message ID, thread ID, labels, and payload headers. When the workflow has multiple items, each input item produces one output item.

The operation does not return the message body or attachments by default. To obtain the full message content, use a subsequent 'Get Message' operation with the returned message ID.

Examples

Example 1: Replying to a customer support thread

Set thread ID from a previous 'Get Threads' operation, select the latest message by snippet, set email type to HTML, write a reply message, add CC to a team alias, and attach a file from a previous node's binary data.

Links

Discussion