
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/mail-threadAn email reading pane for people and agents. An agent brief tops the thread: summary, decisions, open questions and action items, each citing its source. Click a citation to jump to the exact sentence. Older messages fold to one line, attachments show a fact read from the file, and the Agent view shows the Markdown a model receives, bodies fenced as untrusted.
Other props pass through to the root element.
thread*
MailThreadData
brief
ThreadBrief
onAction
(action: MailAction) => void
agents
MailAgent[]
Default DEFAULT_AGENTS
me
Person
Default ME
The signed-in person; shown as "me" and used as the actor for clicks.
defaultLens
"read" | "agent"
Default "read"
Start in the agent view.
draft
{ by: string }
An agent has a reply drafted: the Reply button reads "Review draft" and names it. by is an agent id.
| Description | |||
|---|---|---|---|
| thread* | MailThreadData | – | |
| brief | ThreadBrief | – | |
| onAction | (action: MailAction) => void | – | |
| agents | MailAgent[] | DEFAULT_AGENTS | |
| me | Person | ME | The signed-in person; shown as "me" and used as the actor for clicks. |
| defaultLens | "read" | "agent" | "read" | Start in the agent view. |
| draft | { by: string } | – | An agent has a reply drafted: the Reply button reads "Review draft" and names it. |