
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/mail-contextThe quiet column beside a decision in an AI-first inbox: who it's about, what you owe each other, the thread so far with clickable sources, the message the ask comes from with the ask marked, files with what an agent read in them, an agent's evidence, the day's calendar for a meeting and the rule that put it in front of you. contextToMarkdown gives agents the same, mail fenced as untrusted.
Other props pass through to the root element.
context*
MailContextData
agents
MailAgent[]
Default DEFAULT_AGENTS
highlight
string
A quote to mark and bring into view, e.g. when a citation elsewhere is clicked. Found in the latest message, it is marked there (the message expands if clamped); otherwise the matching summary quote …
onAction
(action: MailAction) => void
open (ids: [threadId]) and cite (index, quote), with the person as the actor.
actorName
string
Default "You"
The person acting, for actor on emitted actions.
| Description | |||
|---|---|---|---|
| context* | MailContextData | – | |
| agents | MailAgent[] | DEFAULT_AGENTS | |
| highlight | string | – | A quote to mark and bring into view, e.g. when a citation elsewhere is clicked. Found in the latest message, it is marked there (the message expands if clamped); otherwise the matching summary quote … |
| onAction | (action: MailAction) => void | – |
|
| actorName | string | "You" | The person acting, for |