mail_message_mark
Set the read (seen) or starred (flagged) status of one mail message. The UID and mailbox must come from a prior list or search result. Omit a flag field to leave it unchanged. `workspace_write` · v1
Authorization
memberToken The tools internkim uses inside a company, callable from outside it. A token belongs to a person, and every call runs as that person, so a token can never do more than its owner can.
The first token is made signed in, from the settings screen. After that a token makes its own
successors: POST /token for a new one, DELETE /token for the old one, so a script rotates
without a browser. A token can neither mint a rung above its own nor revoke itself.
Send Authorization: Bearer <token> on every request.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
text/plain
text/plain
text/plain
text/plain
text/plain
text/plain
text/plain
curl -X POST "https://example.com/tools/mail_message_mark/invoke" \ -H "Content-Type: application/json" \ -d '{ "input": { "mailbox": "…", "uid": "…" } }'{ "toolName": "mail_message_mark", "outcome": "succeeded", "selectedBackend": "device", "effects": [ { "objectType": "mail", "effect": "created", "id": "7a93de11-…" } ], "result": { "…": "the tool's own document" }}mail_message_list POST
List the mail in a mailbox folder, one page of messages at a time. Use this to browse recent email; use mail_message_search when you need to find by keyword or subject. `read` · v1
mail_message_move POST
Move one mail message to a different mailbox folder (e.g. Archive, Trash). The UID and mailbox must come from a prior list or search result. Use this to archive or sort messages. `workspace_write` · v1