xiaohongshu
xiaohongshu
jmap-email
Enables JMAP email operations using Node.js and jmap-jam library. Use when working with JMAP email servers, FastMail, Cyrus IMAP, Stalwart Mail Server, or when user mentions email search, reading, sending, or mailbox management.
Full skill instructions
Access JMAP email servers (FastMail, Cyrus IMAP, Stalwart) using pre-built scripts.
Environment variables must be set before launching Claude Code:
JMAP_SESSION_URL - JMAP server session URLJMAP_BEARER_TOKEN - Authentication bearer tokenJMAP_ACCOUNT_ID - Account ID (optional, auto-detected)Choose the right script:
list-emails.ts (supports --unread, --flagged, --mailbox, --from, --limit filters)list-emails.ts --from "[email protected]"search-keywords.ts keyword1 keyword2 ...get-email.ts with email IDlist-mailboxes.tsmove-by-ids.ts --mailbox <name> <id1> <id2> ...delete-emails.ts <id1> <id2> ...All scripts support --help for detailed usage.
node scripts/list-emails.ts --unread
node scripts/list-emails.ts --unread --limit 50
node scripts/list-emails.ts --from "[email protected]"
node scripts/list-emails.ts --from "[email protected]" --unread
node scripts/search-keywords.ts "invoice" "receipt" "order confirmation"
node scripts/search-keywords.ts --mailbox "Archive" --limit 10 "meeting" "agenda"
Note: Search shows previews only. For full email content, use get-email.ts with the email ID.
node scripts/get-email.ts <email-id>
search-keywords.ts "keyword1" "keyword2"get-email.ts <email-id>move-by-ids.ts --mailbox @MailboxName id1 id2 id3Workflow for processing new emails with learning:
Fetch recent emails:
list-emails.ts --limit 20 to get batch (optionally add --unread or --mailbox "Inbox")Present classification options:
Execute moves:
move-by-ids.ts --mailbox <name> <id1> <id2> ... for each groupSave routing patterns to memory:
Benefits:
node scripts/list-mailboxes.ts
Scripts output compact, human-readable results:
Found 5 email(s) (unread)
================================================================================
⭐ [UNREAD] Meeting tomorrow
From: John Doe <[email protected]>
Date: 1/15/2024, 10:30:45 AM
ID: StrgucNsyw-3
Preview: Hi Jane, let's meet at 2pm to discuss the project...
--------------------------------------------------------------------------------
For writing custom JMAP operations or understanding the API, see:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience