Skip to main content

Gmail:Reply To Email

Controlled node

Overview​

Reply to an existing Gmail message.

Send a reply to an existing Gmail message. Use the message’s id from Get Inbox or Search Emails as messageId.

Inputs​

InputTypeDescription
runEventTriggers this operation.
toText or arrayPrimary recipient: one email address, or an array of addresses supplied through a data connection. Set this explicitly for replies; the original sender is not filled in automatically.
ccText or arrayOptional copy recipients: one email address or an array of addresses.
bccText or arrayOptional blind-copy recipients: one email address or an array of addresses.
subjectTextThe original subject is used, with a reply prefix.
messageIdTextRequired to send a reply rather than a new message. Use the original message’s id, not threadId.
threadIdTextOptional matching Gmail thread ID from the original message. Also supply messageId for reply context.
bodyTextTextPlain-text message body. Can accompany an HTML alternative.
bodyHtmlTextOptional HTML alternative to the plain-text body.
attachmentsFile or arrayOptional library file object, or an array of file objects. Each file must have id and name; use actual library files or file outputs from earlier nodes.

Properties​

SettingTypeDescription
connectionsConnectionSelect an authenticated Gmail connection from this project in the properties panel.

Outputs​

OutputTypeDescription
statusTextsent on success; otherwise an error message.
doneEventFires when the node returns, including when it returns an error result. Check the data output before continuing.

Recipients and attachments​

For multiple recipients, connect an array such as ["alex@example.com", "sam@example.com"]; do not enter a comma-separated list into a single address field. Use bare email addresses, without display names. Leave unused address fields unset; an empty string can fail validation.

Attachments must reference files in this project, not external URLs or local file paths. Keep attachments small enough for the mail provider to accept.

done also fires when an error message is returned. Compare status with sent before treating the operation as successful.

Example​

Retrieve a message with Gmail:Get Inbox. Use Get Value to extract its id for messageId and sentBy for to. Set bodyText to your reply and select the same connection. Trigger run only once the reply is ready. Check for status: "sent" on done.

Project connections