gmail_threads_modify
Add or remove labels on a Gmail thread to archive, mark as read, star, or apply custom labels.
Instructions
Modify a Gmail thread: add/remove labels. To archive, remove INBOX. To mark read, remove UNREAD. To star, add STARRED.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Thread ID | |
| userId | Yes | User ID (use 'me') | |
| addLabelIds | No | JSON array of label IDs to add, e.g. ["STARRED"] | |
| removeLabelIds | No | JSON array of label IDs to remove, e.g. ["INBOX","UNREAD"] |