Skip to content
All tools

mark_email_read

Email · macOS

Effect: write (strongest supported action). Status: gated.

Gated means the tool requires an installed app, a connected account, permission, or runtime availability. Check those requirements on the listed platform before using it.

macOS

Purpose

Use this when the user wants emails in the Mac's Apple Mail (Mail.app) marked as read, or as unread with unread=true: to note what was already handled, or to come back to a message later. Name the messages with message_id (one) or message_ids (up to 20), from list_emails, search_emails or read_email, and pass account= so they are found in the right account. A message counts as marked only when a second read shows the new state. Nothing is sent, moved or deleted, so it asks for no confirmation. For mail of a Microsoft 365 account, use m365_mark_email_read.

Required inputs

No required inputs are declared in this platform's schema. Optional selectors and runtime requirements may still apply.

Permissions and confirmation

No explicit confirmation parameter is exposed in this snapshot. This does not grant permission to act: obtain user authorization before any real action.

Full input schema — macOS
{
  "properties": {
    "account": {
      "description": "Mail.app account the messages live in (returned alongside the id).",
      "type": "string"
    },
    "mailbox": {
      "description": "Folder the messages are in. Passing it skips searching the other folders.",
      "type": "string"
    },
    "message_id": {
      "description": "The ID of one message to mark.",
      "type": "string"
    },
    "message_ids": {
      "description": "IDs of up to 20 messages to mark.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "unread": {
      "description": "true marks them as unread (default false: as read).",
      "type": "boolean"
    }
  },
  "type": "object"
}

Documentation example

Do not execute this example. These concrete inputs refer to a fictional demonstration dataset. Resolve real handles and obtain user authorization before any real call.

{
  "mailbox": "INBOX",
  "message_id": "demo-message-1"
}