Jmap
@josephholsten/jmapv2026.06.11.3
01README
JMAP model for email triage — search, refile, mark, frequency analysis
02Models
@josephholsten/jmapv2026.06.11.3jmap.ts
fn mailbox_get()
List all JMAP mailboxes with name, role, and message counts (Mailbox/get).
fn email_query()
Search emails by mailbox, sender, subject, or date range; paginates internally and returns headers (Email/query + Email/get).
fn email_get()
Fetch full headers and body for a list of message IDs (Email/get).
fn email_frequency()
Query a mailbox and return a ranked sender frequency list (Email/query + Email/get + reduce).
fn mailbox_move()
Move mailboxes to a new parent (Mailbox/set update on parentId). Pass parentId: null to promote to top level.
fn email_refile()
Set mailboxIds on messages; pass one ID to move, multiple to assign labels (Email/set update).
fn email_rm()
Delete messages by ID (Email/set destroy).
fn email_mark()
Set or clear JMAP keywords (flags) on messages (Email/set update).
Resources
mailboxes(1d)— All JMAP mailboxes with message counts
messages(30d)— Email headers from the most recent email_query
message_bodies(30d)— Full email content from the most recent email_get
sender_frequency(30d)— Ranked sender frequency from the most recent email_frequency
mutation_result(30d)— Result of the most recent email_refile or email_mark
destroy_result(30d)— Result of the most recent email_rm
03Previous Versions
2026.06.11.2Jun 12, 2026
2026.06.11.1Jun 11, 2026
2026.06.10.1Jun 11, 2026
04Stats
A
100 / 100
Downloads
0
Archive size
112.6 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels