modify_email
Add or remove labels from emails and change read/unread status for any message in your Gmail accounts.
Instructions
Modify email labels (add/remove labels, mark read/unread)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account": "<account>",
"messageId": "<messageId>"
},
"name": "modify_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Account alias or email to use | |
| messageId | Yes | The ID of the email message | |
| addLabelIds | No | Label IDs to add | |
| removeLabelIds | No | Label IDs to remove |