bulk_add_label
Bulk-add a label to multiple ProtonMail emails by moving them to the corresponding Labels folder; create that folder first if it does not exist.
Instructions
🏷️ Add a label to multiple emails. Note: Labels are folders with 'Labels/' prefix. This moves emails to 'Labels/LabelName'. Create the label folder first if it doesn't exist.
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": {
"emailIds": "<emailIds>",
"label": "<label>"
},
"name": "bulk_add_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label name without prefix (e.g., 'Work', 'Important'). Emails will be moved to 'Labels/LabelName' folder. | |
| emailIds | Yes | Array of email IDs to label |