/agi-super-team:email-monitorfrom agi-super-team
Automates Gmail inbox classification using AI, then creates CRM activities, PM tasks, draft replies, and sends Telegram notifications. Runs hourly via launchd.
Ships in agi-super-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Automatic pipeline: Gmail -> AI classification -> CRM activities -> PM tasks -> draft replies -> Telegram
email_monitor.py → Gmail API, extracts full body
↓ JSON (stdout)
email_agent.py → AI classification (claude CLI haiku)
↓ actionable emails JSON (stdin)
email_action_agent.py → CRM + PM + drafts + git commit + Telegram
| What | Path |
|---|---|
| Monitor tool | $GOOGLE_TOOLS_PATH/email_monitor.py |
| Classify agent | $GOOGLE_TOOLS_PATH/email_agent.py |
| Action agent | $GOOGLE_TOOLS_PATH/email_action_agent.py |
| State | $GOOGLE_TOOLS_PATH/data/email_monitor_state.json |
| Summaries | $GOOGLE_TOOLS_PATH/data/email_summaries/ |
| Drafts | $GOOGLE_TOOLS_PATH/data/email_drafts/ |
| Agent log | $GOOGLE_TOOLS_PATH/data/email_agent_log.json |
| LaunchAgent | ~/Library/LaunchAgents/com.yourcompany.email-monitor.plist |
# Everything automatic: check → classify → CRM → tasks → drafts → notify
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_agent.py
# Dry-run (classification without writing records or notifications)
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_agent.py --dry-run
# Without AI (rule-based classification)
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_agent.py --no-ai
# JSON with full body of each email
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_monitor.py
# Human-readable
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_monitor.py --pretty
# Reset state (reprocess last 20)
rm $GOOGLE_TOOLS_PATH/data/email_monitor_state.json
# Emails from the last N hours
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_monitor.py --since 2h
# From file
$GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_action_agent.py --file input.json
# Dry-run (shows what it will do, without writing records)
echo '<json>' | $GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_action_agent.py --dry-run
# Without drafts
echo '<json>' | $GOOGLE_TOOLS_PATH/.venv/bin/python3 $GOOGLE_TOOLS_PATH/email_action_agent.py --no-draft
# Summary for today
cat $GOOGLE_TOOLS_PATH/data/email_summaries/$(date +%Y-%m-%d).md
# Draft replies
ls $GOOGLE_TOOLS_PATH/data/email_drafts/
cat $GOOGLE_TOOLS_PATH/data/email_drafts/2026-02-09_task-055.txt
# launchd status
launchctl list | grep email-monitor
| Category | Action Agent action |
|---|---|
| URGENT | Activity + draft |
| REPLY_NEEDED | Activity + draft |
| INFO | Activity only |
| SPAM | Skipped |
Note (2026-03-02): Task creation is DISABLED. Sales follow-ups are tracked in
leads.csvvianext_action. pm_tasks is for dev/project tasks only. To re-enable task creation, uncomment the block inemail_action_agent.pyaround line 420.
people.csv (email), fallback by domain in companies.csvactivities.csv (type: email, direction: inbound)pm_tasks_master.csvclaude -p --model haiku, saves to data/email_drafts/Unknown contacts are tagged with unknown-contact -- need to be added to CRM.
$CRM_PATH/contacts/people.csv$CRM_PATH/contacts/companies.csv$CRM_PATH/activities.csvemail-send-direct -- single emailemail-send-bulk -- mass email sendingdaily-briefing -- morning overview (reads email summaries)log-activity -- manual activity loggingtelegram-session -- if Telegram notifications are not workingWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
email-monitor, gmail, telegram, ai-classification, inbox-automation, launchd
npx claudepluginhub aaaaqwq/agi-super-team --plugin agi-super-team869 skills in this plugin
/5minbtcBTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准), 概率=P(close>open|ofi) 经验校准表+Bayesian shrink, edge=EV=p−ask 错价检测, 方向二选一无中性。13因子自v5.9起收敛到3个有证据信号且不再决定bias。黑天鹅防护: ATR spike+FNG<25。launchd 常驻 realtime/watch/trader。⚠️ Binance 端点**人工**双向切换(引擎为单端点硬依赖,无自动故障切换;2026-09-11 曾因 data-api SSL 失败静默断档 6h)。/sales-enablementWhen the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps.' Use this for any document or asset that helps a sales team close deals. For competitor comparison pages and battle cards, see competitor-alternatives. For marketing website copy, see copywriting. For cold outreach emails, see cold-email./accessibility-compliance-accessibility-auditYou are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.Other plugins' skills for the same job