update_email
Update an email's read status, star, importance, folder, or contact link for efficient triage.
Instructions
Triage an email: mark it read/unread, star/unstar, flag important, move it to a folder (inbox/sent/archive/trash/draft — use trash to remove it from the inbox), or link/unlink it to a contact. Only include the fields you want to change. Get the emailId from find_emails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| read | No | Mark read (true) or unread (false). | |
| folder | No | Move to this folder. Use `trash` to remove from the inbox. | |
| emailId | Yes | Id of the email to update (from find_emails). | |
| starred | No | Star (true) or unstar (false). | |
| contactId | No | Link this email to a contact (from find_contacts). | |
| important | No | Flag (true) or clear (false) important. | |
| unlinkContact | No | Remove the email's contact link. |