Email Drafting Skill
Config — read before starting
Read ../config/user.json (resolves to ~/executive-assistant-skills/config/user.json).
Extract and use throughout:
primary_email, work_email — Gmail accounts
scheduling_cc — scheduling assistant email (CC on all scheduling emails, mention in body)
scheduling_silent_cc — silent CC for scheduling visibility (do NOT mention in email body)
signature — sign-off for all drafts (e.g. "--gonto")
name — short name for context
Do not proceed until you have these values.
Debug Logging (MANDATORY)
Read ../config/DEBUG_LOGGING.md for the full convention. Use python3 {user.workspace}/scripts/skill_log.py email-drafting <level> "<message>" ['<details>'] at every key step. Log BEFORE and AFTER every external call (gog gmail, mcporter, todoist-cli). On any error, log the full command and stderr before continuing.
Overview
Auto-draft and manually-requested email drafts for {user.primary_email} and {user.work_email}.
When to Use
- Gmail hook detects a trigger (intro, scheduling, thanks/ack, positive reply)
- User asks to draft/reply/send an email
- Action items cron identifies email follow-ups needed
Architecture
- Detects triggers and creates Gmail drafts
- Handles all scheduling (slot-finding, conflict checking, calendar ops)
- NEVER proposes specific dates/times or creates calendar events
Execution
- "Reply" always means Reply All — include all original To + CC recipients. Only exclude if user explicitly says to reply to one person. Exception: intro handling moves the introducer to BCC per the intro sequence below.
- After sending any email/draft, check if it fulfills an open Todoist task (send deck, intro, follow-up, etc.). If yes → complete the task immediately and confirm.
- Hook/cron triggers: Always run via isolated sub-agent (prevents memory/context contamination)
- Direct user requests ("draft a reply to X"): Main agent may execute directly, but must still follow all style rules and must NOT read MEMORY.md or daily memory files
Rules (non-negotiable)
Core
- Draft-only mode — never send automatically
- Mirror inbound language — match the language of the most recent non-automated message in the thread. If the thread has mixed languages, default to the language of the message you're replying to.
- Always sign — end every draft with
{user.signature}
- Low confidence — don't draft; ask user for guidance
- No dash punctuation — no em-dash/en-dash in bodies. Use commas/periods.
- Humanize — before finalizing any draft, review it against
~/executive-assistant-skills/humanizer/SKILL.md. Remove AI-writing markers: inflated symbolism, promotional tone, em-dash overuse, "delve"/"leverage"/"foster" vocabulary, rule-of-three patterns. Email-specific rules (no dashes, signature, brevity) take precedence over humanizer suggestions if they conflict.
Intro Handling (required sequence)
- Thank introducer first
- Move introducer to BCC
- Reply to introduced contact directly
- CC
{user.scheduling_cc} and {user.scheduling_silent_cc} for scheduling
- Include one line like: "Connecting {user.scheduling_cc_name} to find a time."
- Do NOT mention
{user.scheduling_silent_cc} in the email body — silent CC only
Scheduling Drafts
- ALWAYS CC {user.scheduling_cc} AND {user.scheduling_silent_cc}
- NEVER propose specific dates or times
- Just confirm willingness to meet + mention scheduling assistant will coordinate
- Example: "Connecting Alfred to find a time that works"
- Do NOT mention {user.scheduling_silent_cc} in the email body — she's CC'd silently for visibility
Allowed Auto-Draft Classes
- Thanks/ack
- Scheduling intent
- Positive short replies
- Intro acceptance
Notification Format
account + one-line intent + draft link
- Example:
📧 Draft ({user.primary_email} → John): intro acceptance. https://mail.google.com/...
Draft Links
After creating a draft via gog, extract the draft ID from the response.
Gmail draft URL format: https://mail.google.com/mail/u/?authuser={account_email}#drafts?compose={message_id}
Use authuser=m@gon.to or authuser=gonto@hypergrowthpartners.com as appropriate.
Trigger Detection
A) Intro
- Cues:
intro, introduction, meet, connecting you, looping in, cc'ing
- At least 2 external participants + clear handoff language
- Apply intro sequence exactly
B) Scheduling Intent
- Cues:
find a time, schedule, availability, next week, calendar
- Spanish cues:
agendar, agenda una, tenés unos minutos
- CC scheduling contacts, don't propose times
C) Thanks/Ack
- Cues:
thanks, got it, appreciate it, status updates
- Short acknowledgment + optional one-line next step
D) Positive Short Reply
- Cues:
works for me, sounds good, perfect, great
- Short affirmative + close
Skip Conditions (do NOT auto-draft)
- Confidence low / intent ambiguous
- User already replied in the thread (SENT message exists)
- Legal, financial, security, hiring-final, sensitive conflict topics
- Multi-question strategic asks
- Automated/system/calendar notifications
- Messages requiring attachments, deep verification, or policy commitments
- Language unclear or unmirrorable
- Scheduling confirmations — NEVER auto-draft emails that simply confirm a scheduled time or acknowledge a calendar invite. The scheduling assistant (Alfred/Howie) handles all scheduling coordination. Auto-drafting "confirming our call at X" creates noise and duplicates the scheduler's work. This includes: confirming times proposed by the scheduler, acknowledging calendar invites, and "looking forward to our call" type replies to scheduling threads.
Confidence Gate
Only auto-draft when ALL are true:
- Trigger class is one of the 4 allowed
- Language confidently detected and mirrorable
- Clear recipient intent and next step
- No skip condition present
Otherwise: ask user.
Drafting Principles
- Keep it SHORT — drafts are always brief. 2-3 short paragraphs max.
- No over-explaining — state the point, don't elaborate unless necessary
- When promising intros: before drafting the intro, search sent emails for previous intros to that person/company, copy the format and tone, and use the same email address
- When recommending a person/company: use your own words from past emails about them rather than inventing new descriptions
- Deck/one-pager: say "Hypergrowth Partners deck" (not "our one-pager" or "our deck"). When attaching, frame WHY it's useful (e.g. "where we explain what Hypergrowth is and how we help companies")
- Future availability: frame as an opportunity, not a brush-off. Position it warmly: "I'd love to reconnect then to explore working together if the timing still makes sense" rather than blunt "let's connect closer to June"
- Offers of help should use meeting context: read Granola notes from the call and reference specific things discussed. The draft should feel like it came from someone who was in the meeting.
- No generic "Great meeting today" unless it's explicitly a first meeting (first VC call or first dealflow call).
- Proposal-first rule: if the commitment is to build/provide a proposal first, do not draft outbound email yet; create TODO only.
Use Grain as primary source for meeting-based drafts
When drafting follow-up emails from meetings, Grain transcript is the primary source (not Granola):
- Find the meeting in Grain:
mcporter call grain.list_attended_meetings --args '{"limit": 5}'
- Fetch transcript:
mcporter call grain.fetch_meeting_transcript --args '{"meeting_id": "<id>"}'
- Search transcript for email commitments: "I'll send", "I'll email", "I'll share", "let me intro", "I'll follow up", "I'll connect you", etc.
- Draft from the transcript — use your actual words and the real conversation context, not Granola's summary.
- Fall back to Granola only if Grain has no recording for that meeting.
Style
Read {user.workspace}/style/EMAIL_STYLE.md for the full writing style guide (derived from 200+ real sent emails).
Read {user.workspace}/style/FEEDBACK_LOG.md for user corrections — latest overrides win.
Key points:
- Friendly, concise, action-oriented. Warm but not fluffy.
- 1–4 short paragraphs, ~6–7 word sentences
- Context-first openings, straight to point
- Common opens: "Hey ,", "Thanks…", "Perfect…", "Great…"
- Sign off:
{user.signature}
- No dash punctuation (no em-dash/en-dash)
- Do: be brief, clear, warm, decisive, include draft link in notification
- Don't: over-explain, corporate fluff, long formal prose
Templates
- Primary:
{user.workspace}/style/EMAIL_TEMPLATES.md — pattern templates (intros, follow-ups, VC, etc.)
- Legacy (HGP v1):
{user.workspace}/style/email-templates.md — HGP business templates. Use only for HGP-specific business contexts. Primary templates take precedence on conflicts.
Audit Logging (MANDATORY)
After every external action, log it:
- Draft created:
python3 {user.workspace}/scripts/audit_log.py log email_drafted "<recipient>" success '{"account": "<account>", "subject": "<subject>", "type": "<trigger_class>"}'
- Email sent:
python3 {user.workspace}/scripts/audit_log.py log email_sent "<recipient>" success '{"account": "<account>", "subject": "<subject>"}'
- Draft skipped (low confidence):
python3 {user.workspace}/scripts/audit_log.py log email_draft_skipped "<recipient>" skipped '{"reason": "<reason>"}'
Auto-Draft Constraints
- NEVER create calendar events — only the scheduling assistant handles that
- Only create email drafts
- Include
--to <sender> explicitly when creating drafts
Auto-Draft WhatsApp Notification (MANDATORY)
Every time a draft is created automatically (via Gmail hook or any automated trigger), you MUST send a WhatsApp notification to {user.whatsapp} with:
✏️ *Auto-draft created*
*To:* <recipient name> (<email>)
*Subject:* <subject>
*Account:* <account>
*Trigger:* <intro/scheduling/thanks/positive reply>
*Draft text:*
> <full draft body — include the complete text so user can review without opening Gmail>
🔗 <Gmail draft link>
Reply "send" to send, or edit in Gmail.
This is non-optional. The user must be able to read and approve the draft from WhatsApp without opening Gmail.
Notification Policy
- No routine "no change" notifications
- Alert on: meaningful changes, breakages, time-sensitive items, auto-drafted emails
- Time-sensitive: approvals, meeting changes, 2FA codes, security, travel changes
- Evaluate Promotions, suppress Spam/Junk/Trash
Prerequisites
gog CLI configured with both Gmail accounts (primary and work)
mcporter with Grain MCP connection for meeting transcript access
- OpenClaw workspace with
skill_log.py and audit_log.py scripts
- Email style guide at
{user.workspace}/style/EMAIL_STYLE.md
- Humanizer skill at
~/executive-assistant-skills/humanizer/SKILL.md
Instructions
See the Execution, Trigger Detection, and Drafting Principles sections above for the full workflow. The skill detects trigger class (intro, scheduling, thanks/ack, positive reply), applies confidence gate, drafts via gog, and notifies via WhatsApp.
Output
- Gmail draft created on the correct account (never sent automatically)
- WhatsApp notification with full draft text, Gmail draft link, and trigger class
- Audit log entry for each draft created, sent, or skipped
Error Handling
See the Skip Conditions and Confidence Gate sections above. Low-confidence triggers are not drafted. Errors in external calls (gog, mcporter) are logged via skill_log.py before continuing.
Examples
# Auto-draft trigger: intro email detected in inbox
# Output: Gmail draft with intro acceptance, introducer moved to BCC,
# scheduling assistant CC'd, WhatsApp notification with full draft text
# "Draft (m@gon.to -> John): intro acceptance. [Gmail link]"
Resources
Source: jeremylongshore/claude-code-plugins-plus-skills → skills/.curated/email-drafting/SKILL.md
Also appears in: jeremylongshore/claude-code-plugins-plus-skills/plugins/business-tools/executive-assistant-skills/skills/email-drafting/SKILL.md
1---
2name: email-drafting
3description: "\"Draft email replies for Gonto's Gmail accounts (m@gon.to, gonto@hypergrowthpartners.com).\\ \\ Handles intro acceptances, scheduling intent, thanks/ack, and positive short replies.\\ \\ Use when user asks to draft or reply to an email, or when Gmail webhook triggers\\ \\ arrive for auto-draft classification. Draft-only mode \\u2014 never sends automatically.\""
4allowed-tools: "Read, Bash(gog:*), Bash(mcporter:*), Bash(python3:*), Glob, Grep, Write"
5category: backend-and-data
6source_repo: jeremylongshore/claude-code-plugins-plus-skills
7source_path: "skills/.curated/email-drafting/SKILL.md"
8source_url: https://github.com/jeremylongshore/claude-code-plugins-plus-skills/blob/HEAD/skills/.curated/email-drafting/SKILL.md
9metadata:
10 source: https://skillmd.com/skills/thedixitjain/email-drafting
11---
12
13# Email Drafting Skill
14
15## Config — read before starting
16
17Read `../config/user.json` (resolves to `~/executive-assistant-skills/config/user.json`).
18Extract and use throughout:
19
20- `primary_email`, `work_email` — Gmail accounts
21- `scheduling_cc` — scheduling assistant email (CC on all scheduling emails, mention in body)
22- `scheduling_silent_cc` — silent CC for scheduling visibility (do NOT mention in email body)
23- `signature` — sign-off for all drafts (e.g. "--gonto")
24- `name` — short name for context
25
26Do not proceed until you have these values.
27
28## Debug Logging (MANDATORY)
29
30Read `../config/DEBUG_LOGGING.md` for the full convention. Use `python3 {user.workspace}/scripts/skill_log.py email-drafting <level> "<message>" ['<details>']` at every key step. Log BEFORE and AFTER every external call (gog gmail, mcporter, todoist-cli). On any error, log the full command and stderr before continuing.
31
32## Overview
33
34Auto-draft and manually-requested email drafts for {user.primary_email} and {user.work_email}.
35
36## When to Use
37
38- Gmail hook detects a trigger (intro, scheduling, thanks/ack, positive reply)
39- User asks to draft/reply/send an email
40- Action items cron identifies email follow-ups needed
41
42## Architecture
43
44- Detects triggers and creates Gmail drafts
45- Handles all scheduling (slot-finding, conflict checking, calendar ops)
46- NEVER proposes specific dates/times or creates calendar events
47
48## Execution
49
50- **"Reply" always means Reply All** — include all original To + CC recipients. Only exclude if user explicitly says to reply to one person. Exception: intro handling moves the introducer to BCC per the intro sequence below.
51- **After sending any email/draft**, check if it fulfills an open Todoist task (send deck, intro, follow-up, etc.). If yes → complete the task immediately and confirm.
52- **Hook/cron triggers**: Always run via isolated sub-agent (prevents memory/context contamination)
53- **Direct user requests** ("draft a reply to X"): Main agent may execute directly, but must still follow all style rules and must NOT read MEMORY.md or daily memory files
54
55## Rules (non-negotiable)
56
57### Core
58
591. **Draft-only mode** — never send automatically
602. **Mirror inbound language** — match the language of the most recent non-automated message in the thread. If the thread has mixed languages, default to the language of the message you're replying to.
613. **Always sign** — end every draft with `{user.signature}`
624. **Low confidence** — don't draft; ask user for guidance
635. **No dash punctuation** — no em-dash/en-dash in bodies. Use commas/periods.
646. **Humanize** — before finalizing any draft, review it against `~/executive-assistant-skills/humanizer/SKILL.md`. Remove AI-writing markers: inflated symbolism, promotional tone, em-dash overuse, "delve"/"leverage"/"foster" vocabulary, rule-of-three patterns. Email-specific rules (no dashes, signature, brevity) take precedence over humanizer suggestions if they conflict.
65
66### Intro Handling (required sequence)
67
681. Thank introducer first
692. Move introducer to BCC
703. Reply to introduced contact directly
714. CC `{user.scheduling_cc}` and `{user.scheduling_silent_cc}` for scheduling
725. Include one line like: "Connecting {user.scheduling_cc_name} to find a time."
736. **Do NOT mention `{user.scheduling_silent_cc}` in the email body** — silent CC only
74
75### Scheduling Drafts
76
77- **ALWAYS CC {user.scheduling_cc} AND {user.scheduling_silent_cc}**
78- **NEVER propose specific dates or times**
79- Just confirm willingness to meet + mention scheduling assistant will coordinate
80- Example: "Connecting Alfred to find a time that works"
81- **Do NOT mention {user.scheduling_silent_cc} in the email body** — she's CC'd silently for visibility
82
83### Allowed Auto-Draft Classes
84
85- Thanks/ack
86- Scheduling intent
87- Positive short replies
88- Intro acceptance
89
90### Notification Format
91
92- `account + one-line intent + draft link`
93- Example: `📧 Draft ({user.primary_email} → John): intro acceptance. https://mail.google.com/...`
94
95## Draft Links
96
97After creating a draft via `gog`, extract the draft ID from the response.
98Gmail draft URL format: `https://mail.google.com/mail/u/?authuser={account_email}#drafts?compose={message_id}`
99Use `authuser=m@gon.to` or `authuser=gonto@hypergrowthpartners.com` as appropriate.
100
101## Trigger Detection
102
103### A) Intro
104
105- Cues: `intro`, `introduction`, `meet`, `connecting you`, `looping in`, `cc'ing`
106- At least 2 external participants + clear handoff language
107- Apply intro sequence exactly
108
109### B) Scheduling Intent
110
111- Cues: `find a time`, `schedule`, `availability`, `next week`, `calendar`
112- Spanish cues: `agendar`, `agenda una`, `tenés unos minutos`
113- CC scheduling contacts, don't propose times
114
115### C) Thanks/Ack
116
117- Cues: `thanks`, `got it`, `appreciate it`, status updates
118- Short acknowledgment + optional one-line next step
119
120### D) Positive Short Reply
121
122- Cues: `works for me`, `sounds good`, `perfect`, `great`
123- Short affirmative + close
124
125## Skip Conditions (do NOT auto-draft)
126
127- Confidence low / intent ambiguous
128- User already replied in the thread (SENT message exists)
129- Legal, financial, security, hiring-final, sensitive conflict topics
130- Multi-question strategic asks
131- Automated/system/calendar notifications
132- Messages requiring attachments, deep verification, or policy commitments
133- Language unclear or unmirrorable
134- **Scheduling confirmations** — NEVER auto-draft emails that simply confirm a scheduled time or acknowledge a calendar invite. The scheduling assistant (Alfred/Howie) handles all scheduling coordination. Auto-drafting "confirming our call at X" creates noise and duplicates the scheduler's work. This includes: confirming times proposed by the scheduler, acknowledging calendar invites, and "looking forward to our call" type replies to scheduling threads.
135
136## Confidence Gate
137
138Only auto-draft when ALL are true:
139
140- Trigger class is one of the 4 allowed
141- Language confidently detected and mirrorable
142- Clear recipient intent and next step
143- No skip condition present
144
145Otherwise: ask user.
146
147## Drafting Principles
148
149- **Keep it SHORT** — drafts are always brief. 2-3 short paragraphs max.
150- **No over-explaining** — state the point, don't elaborate unless necessary
151- **When promising intros**: before drafting the intro, search sent emails for previous intros to that person/company, copy the format and tone, and use the same email address
152- **When recommending a person/company**: use your own words from past emails about them rather than inventing new descriptions
153- **Deck/one-pager**: say "Hypergrowth Partners deck" (not "our one-pager" or "our deck"). When attaching, frame WHY it's useful (e.g. "where we explain what Hypergrowth is and how we help companies")
154- **Future availability**: frame as an opportunity, not a brush-off. Position it warmly: "I'd love to reconnect then to explore working together if the timing still makes sense" rather than blunt "let's connect closer to June"
155- **Offers of help should use meeting context**: read Granola notes from the call and reference specific things discussed. The draft should feel like it came from someone who was in the meeting.
156- **No generic "Great meeting today"** unless it's explicitly a first meeting (first VC call or first dealflow call).
157- **Proposal-first rule**: if the commitment is to build/provide a proposal first, do not draft outbound email yet; create TODO only.
158
159## Use Grain as primary source for meeting-based drafts
160
161When drafting follow-up emails from meetings, **Grain transcript is the primary source** (not Granola):
162
1631. Find the meeting in Grain: `mcporter call grain.list_attended_meetings --args '{"limit": 5}'`
1642. Fetch transcript: `mcporter call grain.fetch_meeting_transcript --args '{"meeting_id": "<id>"}'`
1653. Search transcript for email commitments: "I'll send", "I'll email", "I'll share", "let me intro", "I'll follow up", "I'll connect you", etc.
1664. **Draft from the transcript** — use your actual words and the real conversation context, not Granola's summary.
1675. Fall back to Granola only if Grain has no recording for that meeting.
168
169## Style
170
171Read `{user.workspace}/style/EMAIL_STYLE.md` for the full writing style guide (derived from 200+ real sent emails).
172Read `{user.workspace}/style/FEEDBACK_LOG.md` for user corrections — latest overrides win.
173
174Key points:
175
176- Friendly, concise, action-oriented. Warm but not fluffy.
177- 1–4 short paragraphs, ~6–7 word sentences
178- Context-first openings, straight to point
179- Common opens: "Hey <Name>,", "Thanks…", "Perfect…", "Great…"
180- Sign off: `{user.signature}`
181- No dash punctuation (no em-dash/en-dash)
182- **Do:** be brief, clear, warm, decisive, include draft link in notification
183- **Don't:** over-explain, corporate fluff, long formal prose
184
185## Templates
186
187- **Primary**: `{user.workspace}/style/EMAIL_TEMPLATES.md` — pattern templates (intros, follow-ups, VC, etc.)
188- **Legacy (HGP v1)**: `{user.workspace}/style/email-templates.md` — HGP business templates. Use only for HGP-specific business contexts. Primary templates take precedence on conflicts.
189
190## Audit Logging (MANDATORY)
191
192After every external action, log it:
193
194- **Draft created**: `python3 {user.workspace}/scripts/audit_log.py log email_drafted "<recipient>" success '{"account": "<account>", "subject": "<subject>", "type": "<trigger_class>"}'`
195- **Email sent**: `python3 {user.workspace}/scripts/audit_log.py log email_sent "<recipient>" success '{"account": "<account>", "subject": "<subject>"}'`
196- **Draft skipped** (low confidence): `python3 {user.workspace}/scripts/audit_log.py log email_draft_skipped "<recipient>" skipped '{"reason": "<reason>"}'`
197
198## Auto-Draft Constraints
199
200- **NEVER create calendar events** — only the scheduling assistant handles that
201- Only create email drafts
202- Include `--to <sender>` explicitly when creating drafts
203
204## Auto-Draft WhatsApp Notification (MANDATORY)
205
206Every time a draft is created automatically (via Gmail hook or any automated trigger), you MUST send a WhatsApp notification to {user.whatsapp} with:
207
208```
209✏️ *Auto-draft created*
210
211*To:* <recipient name> (<email>)
212*Subject:* <subject>
213*Account:* <account>
214*Trigger:* <intro/scheduling/thanks/positive reply>
215
216*Draft text:*
217> <full draft body — include the complete text so user can review without opening Gmail>
218
219🔗 <Gmail draft link>
220
221Reply "send" to send, or edit in Gmail.
222```
223
224This is non-optional. The user must be able to read and approve the draft from WhatsApp without opening Gmail.
225
226## Notification Policy
227
228- No routine "no change" notifications
229- Alert on: meaningful changes, breakages, time-sensitive items, **auto-drafted emails**
230- Time-sensitive: approvals, meeting changes, 2FA codes, security, travel changes
231- Evaluate Promotions, suppress Spam/Junk/Trash
232
233## Prerequisites
234
235- `gog` CLI configured with both Gmail accounts (primary and work)
236- `mcporter` with Grain MCP connection for meeting transcript access
237- OpenClaw workspace with `skill_log.py` and `audit_log.py` scripts
238- Email style guide at `{user.workspace}/style/EMAIL_STYLE.md`
239- Humanizer skill at `~/executive-assistant-skills/humanizer/SKILL.md`
240
241## Instructions
242
243See the Execution, Trigger Detection, and Drafting Principles sections above for the full workflow. The skill detects trigger class (intro, scheduling, thanks/ack, positive reply), applies confidence gate, drafts via `gog`, and notifies via WhatsApp.
244
245## Output
246
247- Gmail draft created on the correct account (never sent automatically)
248- WhatsApp notification with full draft text, Gmail draft link, and trigger class
249- Audit log entry for each draft created, sent, or skipped
250
251## Error Handling
252
253See the Skip Conditions and Confidence Gate sections above. Low-confidence triggers are not drafted. Errors in external calls (gog, mcporter) are logged via `skill_log.py` before continuing.
254
255## Examples
256
257```bash
258# Auto-draft trigger: intro email detected in inbox
259# Output: Gmail draft with intro acceptance, introducer moved to BCC,
260# scheduling assistant CC'd, WhatsApp notification with full draft text
261# "Draft (m@gon.to -> John): intro acceptance. [Gmail link]"
262```
263
264## Resources
265
266- [Gmail API](https://developers.google.com/gmail/api)
267- Grain API
268- [Gmail Draft URL format](https://mail.google.com/mail/u/?authuser={email}#drafts)
269
270---
271
272**Source:** [`jeremylongshore/claude-code-plugins-plus-skills`](https://github.com/jeremylongshore/claude-code-plugins-plus-skills) → `skills/.curated/email-drafting/SKILL.md`
273
274**Also appears in:** `jeremylongshore/claude-code-plugins-plus-skills/plugins/business-tools/executive-assistant-skills/skills/email-drafting/SKILL.md`