Remove Label from Email
remove_labelRemove a label from an email while keeping it in its original folder. Requires the email's UID within the label 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 |
|---|---|---|---|
| emailId | Yes | UID of the email inside Labels/{label} | |
| label | Yes | Label name to remove (e.g. Work) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | ||
| messageId | No | ||
| reason | No |