> ## Documentation Index
> Fetch the complete documentation index at: https://docs.minimo.it/llms.txt
> Use this file to discover all available pages before exploring further.

# Triage your inbox with an AI agent

> A complete example: Claude reads the conversations waiting for you, drafts the answers and sends them after your OK.

This example uses Claude, but any MCP client connected to Minimo works the same way
([connect your agent](https://docs.minimo.it/guides/connect-your-agent.md)).

## 1. Find what is waiting

```text theme={null}
Using Minimo: list the inbox conversations that need attention. For each one: who, which channel, what they asked,
how long they have been waiting.
```

The agent calls `minimo_inbox_list-threads` with `needsAttention`, then `minimo_inbox_get-thread` on each one. Nothing
changes: reading does not even mark them read.

## 2. Draft the answers

```text theme={null}
Draft a short answer for each one, in the language the contact wrote in. Do not send anything yet.
```

For each draft the agent calls `minimo_inbox_reply` **without** `confirm`: Minimo returns the preview (recipient,
channel, subject, whether the WhatsApp 24-hour window is open) and sends nothing. A WhatsApp contact outside the window
is flagged: the agent proposes an approved template instead.

## 3. Send after your OK

```text theme={null}
Send the answers to Mario and Giulia as they are. Leave the third one to me.
```

The agent calls `minimo_inbox_reply` with `confirm: true` for the two you approved. Each reply goes out as you, the AI
pauses on those conversations, and they are assigned to you if nobody had them.

## 4. Tidy up

```text theme={null}
Mark them read, close Mario's, and give the third conversation to Luca.
```

The agent calls `minimo_inbox_update-thread` (`markRead`, `status: "closed"`, `assignTo`). Luca is notified.

## Good habits for agents

* Search by content with `minimo_inbox_search-threads` ("everyone who asked about refunds this week").
* Hand a conversation back to the AI with `minimo_inbox_set-ai` (`enabled: true`) once a person has solved it.
* Never send without the user's explicit OK: the two-step `confirm` is there for that.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.