# Hermoso: update_email: Mark, flag, label · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/update_email/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / update_email

# `update_email`

Mark, flag, label, move or trash emails

Area: MAILBOX EXTRAS 2026-11-25 · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`mailbox` `string` the address or mailbox id

`ids` required `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](https://hermoso.ai/docs/credits/).

## Related tools

- [search_email](https://hermoso.ai/docs/reference/publish/search_email/) Search the messages in a connected mailbox
- [get_email_thread](https://hermoso.ai/docs/reference/publish/get_email_thread/) Read a whole email thread
- [list_email_mailboxes](https://hermoso.ai/docs/reference/publish/list_email_mailboxes/) List the mailboxes this brand sends from
- [save_email_draft](https://hermoso.ai/docs/reference/publish/save_email_draft/) Save a draft in the mailbox
- [send_email_draft](https://hermoso.ai/docs/reference/publish/send_email_draft/) Send a draft from the mailbox
- [manage_email_folder](https://hermoso.ai/docs/reference/publish/manage_email_folder/) Create, rename or delete a mailbox folder
- [reply_to_email](https://hermoso.ai/docs/reference/publish/reply_to_email/) Reply to any email in the mailbox
- [list_email_folders](https://hermoso.ai/docs/reference/publish/list_email_folders/) List the folders in a connected mailbox
- [forward_email](https://hermoso.ai/docs/reference/publish/forward_email/) Forward an email from the mailbox
- [set_email_reply_settings](https://hermoso.ai/docs/reference/publish/set_email_reply_settings/) Set what happens with email replies

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
