set_email_categories
Set color-coded categories on an email, replacing any existing ones. Use an empty array to clear all categories.
Instructions
Set categories on an email, replacing any existing categories. Use this to organize emails with color-coded labels. Pass an empty array to clear all categories. Returns a success confirmation. Returns an error if the email ID does not exist. Use get_email to check current categories before modifying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| email_id | Yes | The email ID to set categories on (e.g., from list_emails or search_emails) | |
| categories | Yes | Categories to set, replacing any existing (e.g., ["Urgent", "Follow-up"]). Use an empty array [] to clear all categories. |