gmail_modify_labels
Add or remove Gmail labels such as INBOX, STARRED, or custom ones from any message in your connected Google accounts.
Instructions
Add or remove labels from a Gmail message. Use label IDs (e.g., "INBOX", "STARRED", "IMPORTANT", or custom label IDs). Requires full scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | The Google account ID, alias, or email | |
| messageId | Yes | The message ID to modify | |
| addLabelIds | No | Label IDs to add (e.g., ["STARRED", "IMPORTANT"]) | |
| removeLabelIds | No | Label IDs to remove (e.g., ["UNREAD"]) |