Flag an email
mark_emailMark an email as read or unread and set or clear a flag to manage message status directly in your mailbox.
Instructions
Mark a message read or unread, and flag or unflag it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | IMAP UID of the message. | |
| seen | No | True marks it read, False marks it unread. | |
| folder | No | Folder the message is in. | INBOX |
| flagged | No | True stars/flags it, False clears the flag. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| action | Yes | What was done, e.g. 'moved' or 'marked read'. | |
| detail | No | ||
| folder | Yes |