outlook-email

outlook-email is a skill for Claude Code, Codex from UseJunior/email-agent-mcp. It costs 117 tokens per session (4,802 once invoked), scanned A, original, Apache-2.0.

A set of instructions for managing Outlook and Microsoft 365 email with an AI agent. It covers inbox triage, draft replies, folders, inbox rules, and priority-message monitoring, with approval required before sending.

In plain words
What is it for?
Use it to sort and clean up an inbox, draft replies in a matching tone, organize folders, create rules, and watch for important messages.
Why use it?
It provides a safer, organized email workflow that separates drafting from sending and reduces the risk of sending a message to the wrong person.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to sort and clean up an inbox, draft replies in a matching tone, organize folders, create rules, and watch for important messages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/usejunior/email-agent-mcp/outlook-email
Install

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.

Any agent
npx skills add UseJunior/email-agent-mcp --skill outlook-email
Clone the repo
git clone --depth 1 https://github.com/UseJunior/email-agent-mcp

Made for: Claude Code, Codex.

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 outlook-email

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/usejunior/email-agent-mcp/outlook-email"><img src="https://agentmods.dev/badge/skills/usejunior/email-agent-mcp/outlook-email.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 117 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,802 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: 4 findings, up to high

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 →

  • high Privilege Escalation · line 38
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 124
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 5
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 179
    Skill grants unrestricted tool access without appropriate constraints. An agent with unfettered tool access can perform arbitrary actions including file modification, network requests, and code execution.
    Fix: Restrict tool access to only the tools required for the skill's stated purpose. Use an explicit allowlist rather than granting blanket access.
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.00117 $0.04802
Opus 5 $0.00059 $0.02401
Sonnet 5 $0.00023 $0.00960
Haiku 4.5 $0.00012 $0.00480

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

Security

Grade A, and why

outlook-email 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 9d 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.

skills/outlook-email/SKILL.md · 342 lines

How it starts

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

Outlook Email Management

使用 AI 代理管理 Outlook 邮件

Patterns for AI agents working with Microsoft 365 / Outlook email. These patterns work with any Graph API client. For a turnkey MCP server with safety guardrails, see email-agent-mcp (open source, Apache-2.0).

Safety Model

安全模型

Draft-first is the recommended default for enterprise email. Agents should never send email without explicit user approval.

The workflow:

  1. Compose — create the email as a draft
  2. Present — show recipients, subject, and body to the user
  3. Wait for approval — only send when the user says "send," "send now," or equivalent
  4. Clean up — after confirming a send, archive stale duplicate drafts

Why this matters: a single wrong send — wrong recipient, wrong attachment, confidential content to the wrong thread — can cause real damage. Drafts are free. Mistakes are expensive.

email-agent-mcp enforces this via concrete runtime guardrails:

  • Empty send allowlist by default — agents cannot send email until the user explicitly configures allowed recipients
  • Action-level rejection of dangerous inbox rule actionscreateInboxRuleAction refuses forwardTo, forwardAsAttachmentTo, redirectTo, and delete against its BLOCKED_ACTIONS denylist, and refuses anything outside its SAFE_ACTIONS allowlist — permanentDelete among them — as an unsupported action (createInboxRuleAction in rules.ts)
  • delete_email disabled by defaultdeleteEmailAction requires both an operator-enabled delete policy (AGENT_EMAIL_DELETE_ENABLED=true) and a caller-supplied user_explicitly_requested_deletion: true (deleteEmailAction in label.ts)

NemoClaw can enforce it at the network policy level — see the NemoClaw Email Policy skill.

Read the full file on GitHub · 342 lines

Files

What ships with it

1 file 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.

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. 9d ago First seen · 342 lines · 117 tokens per session scan A bbf1c8993fa8

Subscribe to this mod's changes

outlook-email is a skill published in the GitHub repository UseJunior/email-agent-mcp (6 stars, last pushed yesterday), licensed Apache-2.0. It adds 117 tokens to every session and 4,802 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-31.