Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add CarbeneAI/Forge --skill emailmanagergit clone --depth 1 https://github.com/CarbeneAI/ForgeWrote 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/carbeneai/forge/emailmanager)<a href="https://agentmods.dev/skills/carbeneai/forge/emailmanager"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/emailmanager/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/carbeneai/forge/emailmanager"><img src="https://agentmods.dev/badge/skills/carbeneai/forge/emailmanager.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.00053 | $0.02676 |
| Opus 5.5 | $0.00021 | $0.01070 |
| Sonnet 5.5 | $0.00011 | $0.00535 |
| Haiku 4.5 | $0.00005 | $0.00268 |
Grade B, and why
EmailManager scanned grade B with 1 finding 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
sudo cp ~/.claude/skills/EmailManager/linux-service/emailmanager.service /etc/systemd/system/ How it starts
The opening of the file, as written. The whole thing — 317 lines — stays where its author put it; the contents beside it link to each section on GitHub.
EmailManager
Intelligent email management system for PAI that monitors Gmail accounts (personal + workspace), filters spam/phishing with 4-layer detection, and surfaces legitimate emails via Telegram notifications.
Agent: Philemon
Biblical character who received Paul's most important personal letter — a masterclass in diplomatic communication and message handling. Perfect for an email management agent.
Architecture
Gmail API (Personal) ─┐
├→ EmailMonitor.ts → SpamFilter.ts → Telegram Notification
Gmail API (Workspace) ─┘
- Auth: OAuth2 with encrypted refresh tokens
- Polling: Every 2 minutes via systemd service on your host machine
- Storage: JSON files in
data/(gitignored) - Notifications: Telegram (reuses existing PAI bot)
Quick Start
1. Setup OAuth (one-time per account)
# Personal Gmail
bun ~/.claude/skills/EmailManager/tools/OAuth2Setup.ts --account personal
# Workspace Gmail
bun ~/.claude/skills/EmailManager/tools/OAuth2Setup.ts --account workspace
2. Test Gmail Access
# List unread emails
bun ~/.claude/skills/EmailManager/tools/GmailClient.ts list --account personal --query "is:unread" --max 5
3. Test Spam Filter
# Analyze a specific message
bun ~/.claude/skills/EmailManager/tools/SpamFilter.ts analyze --account personal --message-id <id>
4. Run Monitor (manual)
# Dry run - no notifications
bun ~/.claude/skills/EmailManager/tools/EmailMonitor.ts --once --dry-run
# Single run with notifications
bun ~/.claude/skills/EmailManager/tools/EmailMonitor.ts --once
# Daemon mode
bun ~/.claude/skills/EmailManager/tools/EmailMonitor.ts --daemon
5. Service Management (Linux host)
~/.claude/skills/EmailManager/tools/manage.sh start
~/.claude/skills/EmailManager/tools/manage.sh status
~/.claude/skills/EmailManager/tools/manage.sh stop
Priority Gate System (Phase 4)
For high-volume inboxes (300+ emails/day), the Priority Gate drastically reduces Telegram noise by scoring emails on "decision required" probability.
What ships with it
22 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- .gitignore 388 B
- bun.lock 20 KB
- data/.gitignore 71 B
- linux-service/emailmanager.service 863 B
- package.json 289 B
- reference/SpamDetectionGuide.md 5.0 KB
- tools/CalendarClient.ts 22 KB runs code
- tools/DailyDigest.ts 16 KB runs code
- tools/EmailCategorizer.ts 15 KB runs code
- tools/EmailConfig.ts 14 KB runs code
- tools/EmailMonitor.ts 28 KB runs code
- tools/GmailClient.ts 14 KB runs code
- tools/manage.sh 2.8 KB runs code
- tools/MeetingScheduler.ts 17 KB runs code
- tools/OAuth2Setup.ts 11 KB runs code
- tools/PriorityGate.ts 15 KB runs code
- tools/ResponseDrafter.ts 15 KB runs code
- tools/SpamFilter.ts 15 KB runs code
- tsconfig.json 713 B
- workflows/Monitor.md 3.8 KB
- workflows/Respond.md 2.7 KB
- workflows/Schedule.md 4.2 KB
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 · 317 lines · 53 tokens per session scan B c784d4f886d0
EmailManager is a skill published in the GitHub repository CarbeneAI/Forge (9 stars, last pushed 2mo ago), licensed MIT. It adds 53 tokens to every session and 2,676 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
channels-setup
Use when a developer wants to build their first CopilotKit Channels agent and get it answering in Slack or Microsoft Teams: "set up a channel", "connect my agent to Slack", "get my agent into Teams", or starting from nothing and wanting a working channel end to end. Covers the whole path: inspecting or scaffolding the…
anarlog
Query Anarlog meetings, notes, summaries, transcripts, participants, action items, and recurring history, or import a local recording. Use when a user asks about their Anarlog meeting data or needs meeting context for another task.
gmail
Manage Gmail email — drafting, sending, organizing, filters, vacation replies, and inbox analysis.
gmail-trigger
Beta. Act on new Gmail as it arrives: get pinged only for urgent mail, digest newsletters, forward invoices — any standing instruction, across one or several accounts.
watcher
Create and manage polling watchers that monitor external services (Gmail, Google Calendar, GitHub, Linear, Outlook) for events and process them with custom action prompts.
daily-briefing
Proactive daily briefing that fires on a recurring schedule, pulls recent memory and workspace context, composes a structured summary (action items, progress, radar, next steps), and delivers it to all active channels. Enable with a time like "set up my daily briefing at 9am". Disable, reschedule, or check status at…