Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/JansenAnalytics/claudexnpx agentmods add skills/jansenanalytics/claudex/email-managerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jansenanalytics/claudex/email-manager)<a href="https://agentmods.dev/skills/jansenanalytics/claudex/email-manager"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/email-manager/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/email-manager"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/email-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.00669 |
| Opus 5.5 | $0.00010 | $0.00268 |
| Sonnet 5.5 | $0.00005 | $0.00134 |
| Haiku 4.5 | $0.00003 | $0.00067 |
Grade A, and why
email-manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
email-manager
Read, search, send, and manage email via IMAP/SMTP or API (Gmail, Outlook).
When to Use
- Checking inbox or unread messages
- Searching emails by sender, subject, date, or content
- Sending or composing email messages
- Managing folders (move, delete, archive)
- Setting up email automation or configuring clients programmatically
Scripts
scripts/imap-reader.py
Read inbox via IMAP. Connects, fetches recent messages, displays subject/from/date.
# List 10 most recent emails
python3 scripts/imap-reader.py --host imap.gmail.com --user [email protected] --password "app-password" --count 10
# Search by sender
python3 scripts/imap-reader.py --host imap.gmail.com --user [email protected] --password "app-password" --search "FROM [email protected]"
# Dry-run (no server connection, shows sample output)
python3 scripts/imap-reader.py --dry-run
Environment variables: IMAP_HOST, IMAP_USER, IMAP_PASS (alternative to flags).
scripts/email-sender.py
Send email via SMTP (supports Gmail, Outlook, custom SMTP).
# Send an email
python3 scripts/email-sender.py --host smtp.gmail.com --port 587 --user [email protected] --password "app-password" \
--to [email protected] --subject "Hello" --body "Message body"
# Dry-run (compose without sending)
python3 scripts/email-sender.py --dry-run --to [email protected] --subject "Test" --body "Draft"
scripts/email-composer.py
Compose and format emails (plain text or HTML). Always dry-run — outputs the composed message without sending.
# Compose a plain text email
python3 scripts/email-composer.py --to [email protected] --subject "Meeting" --body "Let's meet tomorrow at 10."
# Compose HTML email
python3 scripts/email-composer.py --to [email protected] --subject "Report" --html --body "<h1>Q4 Report</h1><p>See attached.</p>"
References
references/imap-commands.md— Common IMAP commands and search syntaxreferences/smtp-setup.md— SMTP configuration for Gmail, Outlook, custom serversreferences/gmail-api-quickstart.md— Gmail API setup with OAuth2
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 82 lines · 25 tokens per session scan A 74de0fecb7a8
email-manager is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 3mo ago), licensed MIT. It adds 25 tokens to every session and 669 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other skills, from other repositories
mail-operations
Use this skill whenever the user wants to interact with email. This includes reading inbox, sending emails, replying, searching messages, managing labels and categories, downloading attachments, setting up auto-reply rules, or triggering agents to handle incoming emails. Supports Gmail, Outlook, and IMAP/SMTP (QQ…
c-email
Read, send, search, and label email via gog (Gmail CLI) or himalaya (IMAP). Supports inbox management, drafting replies, thread viewing, and label/folder operations across Gmail and standard IMAP accounts.
imap-smtp-email
Read, search, and manage email via IMAP protocol. Send email via SMTP. Supports Gmail, Outlook, 163.com, 126.com, QQ Mail, and any standard IMAP/SMTP server with multi-account support.
mailbox
A command-line email tool for reading, searching, sending, and managing messages in Gmail, QQ, 163, Outlook, and other IMAP/SMTP accounts.
inbox-triage
Email inbox triage for AI agents — scan, categorize, draft replies, surface urgent items, and archive noise. Supports Gmail and IMAP for inbox zero workflows.
Run the external email CLI through exec for real IMAP/SMTP/Notmuch mailboxes. Use when the user explicitly wants a real terminal email workflow instead of the built-in benchmark email surfaces.