add_label
Categorize an email by adding a label, which copies it to a folder or sets a keyword flag depending on the email service.
Instructions
Add a label to an email. For ProtonMail, this copies the email into the corresponding Labels/ folder. For Gmail and standard IMAP, this sets a keyword flag on the message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Label name to add (e.g., "Important", "Project-X") | |
| account | Yes | Account name from list_accounts | |
| emailId | Yes | Email ID (UID) from list_emails | |
| mailbox | Yes | Mailbox containing the email (must be a real folder) |