Remove Label from Email
remove_labelRemove a label from an email while keeping the email in its original folder.
Instructions
Remove a label from an email. The email is removed from Labels/{label} but remains in its original folder (Inbox, etc.). The UID passed must be the UID in Labels/{label} (not the INBOX/source UID) — Labels/ folders have their own UID space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label name to remove (e.g. Work) | |
| emailId | Yes | UID of the email inside Labels/{label} | |
| account_id | No | Optional account ID to route this call to (multi-account configs). Omit to use the active account. Configured account IDs are listed in the settings UI (Accounts tab). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| success | Yes | ||
| messageId | No |