email-intel

email-intel is a skill for Claude Code from mishahanin/heading-os. It costs 111 tokens per session (4,509 once invoked), scanned A, original, Apache-2.0.

An email-processing skill for Exchange, Microsoft's email system, that reviews incoming and sent messages, groups them into conversations, and identifies possible follow-up actions. It prepares a daily summary for approval.

In plain words
What is it for?
Use it to review the last day or a longer period of email, process only incoming messages, or examine sent mail. It helps propose CRM records, tasks, sales-pipeline updates, notes, and new contacts.
Why use it?
It turns a large email stream into proposed tasks and records without making changes before approval. This helps prevent important commitments, sales updates, or relationship signals from being missed.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/email-intelligence.py --json --hours [N] > "$RUN".

Good fit Use it to review the last day or a longer period of email, process only incoming messages, or examine sent mail. It helps propose CRM records, tasks, sales-pipeline updates, notes, and new contacts.

Compare 6 skills from other repositories ↓
Install

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.

Clone the repo
git clone --depth 1 https://github.com/mishahanin/heading-os
agentmods
npx agentmods add skills/mishahanin/heading-os/email-intel

Made for: Claude Code.

Wrote 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.

agentmods badge for email-intel

README.md
[![agentmods](https://agentmods.dev/badge/skills/mishahanin/heading-os/email-intel/github.svg)](https://agentmods.dev/skills/mishahanin/heading-os/email-intel)
Your own site
<a href="https://agentmods.dev/skills/mishahanin/heading-os/email-intel"><img src="https://agentmods.dev/badge/skills/mishahanin/heading-os/email-intel/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.

agentmods 80×15 button for email-intel

Your own site · 80×15
<a href="https://agentmods.dev/skills/mishahanin/heading-os/email-intel"><img src="https://agentmods.dev/badge/skills/mishahanin/heading-os/email-intel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,509 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 282
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 15
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00111 $0.04509
Opus 5 $0.00056 $0.02254
Sonnet 5 $0.00022 $0.00902
Haiku 4.5 $0.00011 $0.00451

Measured 5d ago against content hash 2e570a70839c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

email-intel 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 5d 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.

.claude/skills/email-intel/SKILL.md · 297 lines

How it starts

The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Email Intelligence -- Exchange Inbox Processor

Scans the configured 31C Exchange mailbox, groups conversations, categorizes actionable items, and proposes CRM logs, tasks, pipeline updates, knowledge notes, and new contacts. Nothing ships without Misha's approval.

State Files

  • State: outputs/operations/email-intelligence/state.json -- processed message IDs, conversation history, stats
  • Tasks: outputs/operations/email-intelligence/tasks.md -- active and completed action items
  • Sweep actions: outputs/operations/email-intelligence/sweep-actions-YYYY-MM-DD.json -- the numbered recommended-action list + per-action status (proposed/approved/skipped/executing/done/failed). Managed by scripts/email-sweep.py; this is the resumable trail behind the Phase 3 approval. CLI-readable (python scripts/email-sweep.py list).
  • Digests: outputs/operations/email-intelligence/digest-YYYY-MM-DD.md -- daily run records

Action Router

Invocation Action
/email-intel (no args) Process last 24 hours (Phases 0-5)
/email-intel --hours 48 Process last 48 hours
/email-intel --inbox-only Inbox only (skip sent)
/email-intel --sent-only Sent only (skip inbox)

Priority Classification

Every conversation gets a priority tag:

Priority Criteria Examples
P1 Revenue-impacting, deadline-driven, client/partner-facing, investor comms Deal follow-ups, contract negotiations, investor DD, demo requests
P2 Important but not time-critical, internal ops, recurring admin Tribe coordination, vendor inquiries, conference logistics
P3 Nice-to-have, informational, low urgency Newsletters, general inquiries, FYI forwards

Classification signals:

  • Explicit urgency ("ASAP", "urgent", "today", "by EOD") -> P1
  • Revenue/deal context (pipeline companies, pricing, proposals, contracts) -> P1
  • Investor or board communication -> P1
  • Tribe management, process, internal ops -> P2
  • Research, documentation, informational -> P3
  • When in doubt, classify one level higher

Read the full file on GitHub · 297 lines

Changes

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.

  1. 5d ago Changed · +3 lines · -6 tokens per session 2e570a70839c
  2. 9d ago First seen · 294 lines · 117 tokens per session scan A f1cb73df650a

Subscribe to this mod's changes

email-intel is a skill published in the GitHub repository mishahanin/heading-os (11 stars, last pushed today), licensed Apache-2.0. It adds 111 tokens to every session and 4,509 once invoked, about $0.0006 per session on Opus 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-08-30.