Unitalk Gmail icon

Unitalk Gmail

Consume the Gmail API with Unitalk

Message → Reply

AI-generated

Summary

Reply to a Gmail message by providing the original message ID, reply body, and optional delivery options.

Inputs

  • messageId (required) — The Gmail message ID of the email to reply to. Example: 172ce2c4a72cc243.
  • emailType (required) — Format of the reply body. Options: text (plain) or html (rich). Default: html.
  • message (required) — The body of the reply email. Supports plain text or HTML depending on emailType.
  • options — Additional settings for the reply, grouped as a collection object. All sub‑fields are optional unless noted otherwise.

Output shape

object

The operation returns the Gmail Message resource representing the sent reply. It includes at least the fields id (new message ID) and threadId, plus any labels, snippet, and payload metadata returned by the Gmail API.

Examples

Example 1: Reply with plain text to sender only

Set messageId to the target email, emailType to text, message to your reply, and enable options.replyToSenderOnly.

Example 2: Reply with HTML and CC/BCC

Provide messageId, set emailType to html, supply HTML content in message, and fill options.ccList and/or options.bccList with comma‑separated addresses.

Links

Discussion