Label Email
email_labelAdd and/or remove labels on one message — the agent's workflow state. Use this to mark mail read/unread (read/unread), archive it (archived), or apply your own tags, then filter with email_list's labels. Supply at least one of addLabels/removeLabels. One message per call: there is no batch form.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the message to relabel. | |
| addLabels | No | Labels to add. Adding `read` removes `unread` and vice versa — one state under two names, and a message always carries exactly one of them. | |
| removeLabels | No | Labels to remove. Removing `unread` marks the message read (and vice versa); a message is never left with neither. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||