remove_label
Removes a specified label from a Gmail message by message ID, returns the updated label list, and reports no error if the label is absent.
Instructions
Remove a label from an email.
Required:
message_id (str) — Gmail message ID.
label (str) — label name to remove.
Returns on success:
{"message_id": "...", "labels": ["INBOX", "IMPORTANT"]}}
(the label is removed from labels array)
Workflow note: Removes the label from the message's label set.
No error if the label was not present.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | ||
| message_id | Yes |