Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Semantic email search powered by ZeroEntropy embeddings (zembed-1) and reranking (zerank-2). Indexes all your Gmail emails and lets you search them by meaning, not just keywords.
npx claudepluginhub zeroentropy-ai/zemailSemantic search over your Gmail, from inside Claude Code.
Zemail is a Claude Code plugin that gives Claude meaning-based search over your inbox. Instead of keyword-matching the last few pages of mail, it embeds your entire Gmail with ZeroEntropy's zembed-1 and reranks results with zerank-2 — so "budget discussion" finds "Q3 financial planning".
Everything is local-first: your email content never leaves your machine.
Claude's built-in Gmail integration is a thin wrapper over Gmail's keyword search API. That means two things in practice:
Zemail fixes both: your entire inbox gets embedded once with zembed-1 (a state-of-the-art embedding model that actually understands meaning), then every query runs against the whole index and the top candidates get reranked by zerank-2 (currently one of the best-performing rerankers available). The result is search that finds the right email even when you don't remember the exact words — across your full history, not just the last page.
From a Claude Code marketplace:
/plugin install zemail@<marketplace-name>
Or point Claude Code at a local clone:
git clone https://github.com/<you>/zemail
claude --plugin-dir ./zemail
On install, Claude Code will prompt you for your ZeroEntropy API key. Grab a free one at dashboard.zeroentropy.dev/api-keys — takes 30 seconds and no credit card required.
The first time you ask Claude something email-related, it will print a Google authorization URL — open it, grant read-only Gmail access, done. Zemail then syncs and indexes your inbox; subsequent searches are instant.
Just talk to Claude normally:
Gmail API → Fetch all emails → Embed with zembed-1 → Local vector store
↓
User asks Claude → search_emails_tool → Embed query with zembed-1
↓
Cosine similarity → Top 50 candidates
↓
Rerank with zerank-2 → Top 10 results
| Tool | Description |
|---|---|
set_api_key | Save your ZeroEntropy API key |
sync_emails | Fetch and index Gmail messages |
search_emails_tool | Semantic search over indexed emails |
get_email | Read full email content by ID |
authorize_gmail | Manual OAuth code entry (for remote/SSH setups) |
index_status | Check index size and last sync time |
Zemail requests the gmail.readonly OAuth scope — read-only access to your messages. Embeddings, metadata, and the OAuth token are stored on your local machine only. Message content is sent to ZeroEntropy's API for embedding and reranking; it is not stored there. Nothing is ever written back to Gmail.
# Install dependencies
uv pip install -e .
# Run the MCP server directly
python -m zemail.server
# Quick search smoke test
python -c "from zemail.server import search_emails_tool; print(search_emails_tool('test query'))"
MIT
Admin access level
Server config contains admin-level keywords
Requires secrets
Needs API keys or credentials to function
Share bugs, ideas, or general feedback.
Based on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.
Memory compression system for Claude Code - persist context across sessions
Streamline people operations — recruiting, onboarding, performance reviews, compensation analysis, and policy guidance. Maintain compliance and keep your team running smoothly.
Prospect, craft outreach, and build deal strategy faster. Prep for calls, manage your pipeline, and write personalized messaging that moves deals forward.
Create content, plan campaigns, and analyze performance across marketing channels. Maintain brand voice consistency, track competitors, and report on what's working.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim