Label or trash AgentMail messages
update_agentmail_labelsAdd and remove labels on up to 50 messages. Labels are plain names, created on first use. Add trash to move a message to trash (reads and searches skip it; removing trash restores it); remove unread to mark it read.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Address of the connected AgentMail inbox to act on. Call list_authorized_mailboxes to see available options. | |
| addLabels | No | ||
| messageIds | Yes | ||
| removeLabels | No |