label_thread
Applies labels to every message in a thread to mark it STARRED or move the conversation to a folder.
Instructions
Adds labels to every message in a thread (e.g. STARRED, or a folder label to move the conversation).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| labelIds | Yes | Label ids: STARRED, UNREAD, INBOX, TRASH, SPAM, or a user label id from list_labels. Adding a folder label moves the message to that folder (one folder per message); removing the current folder label moves it back to INBOX. | |
| threadId | Yes |