Apply labels to a message
label_messageApply existing labels to a Gmail message using label IDs from list_labels, organizing your inbox by specifying the message and desired labels.
Instructions
Apply one or more existing labels to a single Gmail message. Label IDs come from list_labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | The Gmail address to operate on. Must be one of the accounts returned by list_accounts. If you don't know which account to use, call list_accounts first and ask the user if ambiguous. | |
| labelIds | Yes | Gmail label IDs (from list_labels), e.g. ['INBOX', 'Label_12345']. | |
| messageId | Yes | The Gmail message ID. |