move_email
Archive, move (INBOX/ARCHIVE/TRASH/SPAM) or mark read/unread Email Assistant messages, exactly like the Email Assistant buttons (updates QuailOS and mirrors to the IMAP mailbox when the message came from an IMAP account). Nothing is permanently deleted. Owner/admin read/write AI keys only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | archive | move (needs folder) | mark_read | mark_unread | |
| farmId | Yes | The unique farm ID | |
| folder | No | Target folder for action "move" | |
| emailId | No | Single message id | |
| emailIds | No | Message ids (1-50). Or use emailId for one. |