Gmail
Manage Labels
Add or remove labels from Gmail messages.
Manage Labels
This node allows you to add or remove labels from specific Gmail messages. It is useful for organizing emails based on workflow logic, such as marking processed emails or categorizing them.
Inputs
| Variable | Type | Required | Description |
|---|---|---|---|
credentialId | Credential | Yes | The Gmail credential to use for the operation. |
messageIds | string | Yes | The IDs of the messages to modify. Can be a single ID or a comma-separated list. Supports template variables. |
labelIds | string[] | Yes | The IDs of the labels to add or remove. |
action | "add" | "remove" | Yes | The action to perform: "add" or "remove" labels. |