SetLabels
Adds or Rpelaces exeisting Labels with the specified Labels.
Input
Name | Type | Description |
Mailbox | String | The Gmail mailbox where the message is located.
The default value is Inbox. |
Id | String | This inputs indicates the set of messages to operate on. It may consist of a single message id, a range of messages specified by two message numbers separated by ':' (e.g. '1:5'), and/or individual message numbers separated by ',' (e.g. '1:5,7,10'). |
Labels | String | List of labels to be set to the message specified by the MessageSet property. This input should be set to a comma separate list of labels. |
OperationType | String | This indicates weather the specified labels should be added,removed or replace existing labels list.
The allowed values are ADD, REPLACE, REMOVE. The default value is REPLACE. |
Result Set Columns
Name | Type | Description |
Success | String | Boolean response indicating whether or not the operation was successful. |