update_email
Mark, flag, label, move or trash emails
Description
Organise messages in the brand's own connected mailbox: ids (up to 50, from search_email or get_email_thread) and any of read (true / false), flagged (true / false), addLabels / removeLabels (Outlook categories, Gmail labels, or IMAP keywords), moveTo (a folder), copyTo (a folder), trash:true (to the mailbox's trash, which the mail app can still restore). Each message's outcome is reported on its own; a moved or copied message has a new id in its new folder. mailbox: the address or mailbox id from list_email_mailboxes; needed when several are connected. Sends nothing. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
mailbox | string | the address or mailbox id |
idsrequired | string[] | message ids |
read | boolean | mark read (true) or unread (false) |
flagged | boolean | flag / star (true) or clear it (false) |
addLabels | string[] | labels to put on |
removeLabels | string[] | labels to take off |
moveTo | string | folder to move into |
copyTo | string | folder to copy into |
trash | boolean | true = move to the trash |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/update_email.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"update_email","arguments":{"ids":"<array>"}}}
CLI
hermoso call update_email --json '{"ids":"<array>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
search_emailSearch the messages in a connected mailboxget_email_threadRead a whole email threadlist_email_mailboxesList the mailboxes this brand sends fromsave_email_draftSave a draft in the mailboxsend_email_draftSend a draft from the mailboxmanage_email_folderCreate, rename or delete a mailbox folderreply_to_emailReply to any email in the mailboxlist_email_foldersList the folders in a connected mailboxforward_emailForward an email from the mailboxset_email_reply_settingsSet what happens with email replies