draft-email

draft-email is a command for coding agents from harperreed/office-admin-claude. It costs 0 tokens per session (581 once invoked), scanned A, original, MIT.

An email-drafting command that writes messages in your personal style and saves them as drafts. It can use an existing email thread and check calendar availability when the message involves scheduling.

In plain words
What is it for?
Use it to draft replies or new emails for scheduling, confirming, declining, or requesting something, with an appropriate subject, thread, and signature.
Why use it?
It reduces the work of finding context, choosing a tone, and proposing times while keeping the message unsent for your review. It also requires an explicit recipient address in the draft.

Command

Part of the office-admin plugin — 4 skills, 3 commands, 4 MCP servers shipped together

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.

agentmods
npx agentmods add commands/harperreed/office-admin-claude/draft-email
Clone the repo
git clone --depth 1 https://github.com/harperreed/office-admin-claude

Or install office-admin, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 4 MCP servers.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/harperreed/office-admin-claude/draft-email.svg)](https://agentmods.dev/commands/harperreed/office-admin-claude/draft-email)
Your own site
<a href="https://agentmods.dev/commands/harperreed/office-admin-claude/draft-email"><img src="https://agentmods.dev/badge/commands/harperreed/office-admin-claude/draft-email.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 581 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00581
Opus 5 $0.00000 $0.00291
Sonnet 5 $0.00000 $0.00116
Haiku 4.5 $0.00000 $0.00058

Measured 4d ago against content hash f69b37076725, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

draft-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 4d 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.

commands/draft-email.md · 77 lines

What it actually says

Draft an email in your personal style with guided assistance. Use the office:email-management skill.

Workflow:

  1. Ask clarifying questions:

    • Who is this email to? (name or email address)
    • Is this a reply to an existing email? (yes/no)
    • What's the main purpose? (scheduling, confirming, declining, requesting, etc.)
  2. If replying to existing email:

    • Search for the original email thread
    • Get thread ID, message ID, and recipient email
    • Read original email for context
  3. If calendar-related (scheduling):

    • Use office:calendar-management skill to check availability
    • Include specific available times in draft
    • Note any conflicts that need to be resolved
  4. Draft the email:

    • Load user's style from ~/.claude/office-admin-config.json
    • Match their tone, formality, and response length preferences
    • Use their common phrases from config
    • Apply signature preference (none/minimal/full)
    • CRITICAL: Always include explicit To: email address
  5. Create the draft:

    • Save as DRAFT (never send)
    • Ensure proper threading if reply
    • Verify subject line is appropriate
    • Provide link to draft for user review
  6. Post-draft actions:

    • If email contains event info, offer to add to calendar
    • If mentioning a new contact, offer to add to CRM
    • Summarize what was created

Example interaction:

User: /draft-email

Claude: I'll help you draft an email. Let me ask a few questions:

1. Who is this email to? (name or email address)
2. Is this a reply to an existing email?
3. What's the main purpose? (scheduling, confirming, declining, requesting, etc.)

User: It's a reply to Sarah about scheduling a call next week

Claude: Let me search for Sarah's email... Found it!

I see Sarah asked about scheduling a call to discuss the Q1 project.

Let me check your calendar for next week...

You're available:
- Monday 2:00pm-4:30pm
- Tuesday 9:30am-12:00pm, 1:30pm-4:30pm
- Wednesday 10:00am-12:00pm

I'll draft a reply in your ultra-terse style:

---
**DRAFT CREATED:**

To: [email protected]
Subject: Re: Q1 Project Call

that works perfect. tuesday 2pm?

---

Draft saved to Gmail. Would you like me to:
- Add this to your calendar as a hold?
- Adjust the wording?
- Send it now?
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. 4d ago First seen · 77 lines · 0 tokens per session scan A f69b37076725

Subscribe to this mod's changes

draft-email is a command published in the GitHub repository harperreed/office-admin-claude (5 stars, last pushed 9mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 581 tokens. 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.