unlabel_thread
Removes specified labels from all messages in a mail thread, such as clearing UNREAD to mark the entire conversation as read.
Instructions
Removes labels from every message in a thread, e.g. remove UNREAD to mark the whole conversation as read.
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 |