Gmail Get Custom

Get one or many Messages/Threads and manage labels with token caching

Message → Remove Label

AI-generated

Summary

Removes the specified Gmail labels from a message in the delegated mailbox using the Gmail API.

Inputs

  • Service Account Email (required) — Service account email used to obtain an access token.
  • Private Key (required) — Private key for the service account.
  • Delegated Email (required) — Gmail mailbox to access by impersonation.
  • Message ID (required) — ID of the message to modify.
  • Label Names or IDs (required) — Comma-separated label names or IDs to remove, such as INBOX, UNREAD, or Label_1.

Output shape

A single item containing the Gmail API response for the modified message.

The operation sends a message modify request with the supplied labels in removeLabelIds. Errors are thrown unless the node is configured to continue on fail.

Links

Discussion