hermosodocs

update_email

Mark, flag, label, move or trash emails

Area: MAILBOX EXTRAS 2026-11-25 · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
mailboxstringthe address or mailbox id
idsrequiredstring[]message ids
readbooleanmark read (true) or unread (false)
flaggedbooleanflag / star (true) or clear it (false)
addLabelsstring[]labels to put on
removeLabelsstring[]labels to take off
moveTostringfolder to move into
copyTostringfolder to copy into
trashbooleantrue = 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.

All 728 Publishing & scheduling tools · tools.json