Update Message Labels
patch_agentmail_inbox_messageAdds or removes labels on one message and returns message_id with the resulting labels. Labels are the only mutable part of a received message. Writes to the shared AgentMail workspace: Every AIsa caller shares one AgentMail account, so this reaches inboxes other callers created, and what you write here is visible and editable by the next caller. Read the current labels with get_agentmail_inbox_message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | Yes | The ID of the inbox. | |
| add_labels | No | Label or labels to add to message. | |
| message_id | Yes | ID of message. | |
| Authorization | Yes | Bearer authentication | |
| remove_labels | No | Label or labels to remove from message. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||