Inbox List
Data · AccountSwitcher, InboxList, MailThread
Webmail pieces: AccountSwitcher (one login, every address), InboxList (with agent state per mail), MailThread, SignatureEditor, AttachmentPreview.
AccountSwitcher: accounts ({address, domain, unread}), value (null = all inboxes), onChange, unread, allLabel.
InboxList: items ({id, from, time, subject, snippet, unread, to, agent: {label, tone}, tags}), selected, onOpen.
MailThread: subject, messages ({id, from, to, time, snippet, body, agent, tint, agentNote, attachments}), reply (node). Oldest collapsed, newest open; agent mails carry a signal edge.
SignatureEditor: value / onChange ({name, role, company, phone, website}), fields, note, extra.
AttachmentPreview: name, meta, children (the document on paper), facts (KeyValue), found, actions, onClose.
Seat upgrade before renewal
Props
AccountSwitcher
| Prop | Type | Notes |
|---|---|---|
accounts | { address: string; domain?: string; unread?: number }[] | Required |
value? | string | null | |
onChange? | (address: string | null) => void | |
unread? | number | |
allLabel? | string | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
InboxList
| Prop | Type | Notes |
|---|---|---|
items | { id: string | number; from: string; time?: string; subject: string; snippet?: string; unread?: boolean; to?: string; agent?: { label: string; tone?: Tone }; tags?: string[]; }[] | Required |
selected? | string | number | |
onOpen? | (m: NonNullable<InboxListProps["items"]>[number]) => void | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |
MailThread
| Prop | Type | Notes |
|---|---|---|
subject | string | Required |
messages | { id: string | number; from: string; to?: string; time?: string; snippet?: string; body: ReactNode; agent?: boolean; tint?: Tint; agentNote?: string; attachments?: { name: string; size?: string }[]; }[] | Required |
reply? | ReactNode | |
className? | string | Extra class on the root element. |
style? | CSSProperties | Inline style on the root element. |