Actions8
- Message Actions
- Thread Actions
Message → Remove Label
AI-generatedSummary
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.