email-drafter
$
npx mdskill add skillmatic-ai/playbooks/email-drafterDrafts personalized welcome emails for new hires using Claude AI and sends them via Gmail API with review-and-edit approval.
- Helps automate the creation and delivery of customized welcome emails for onboarding employees.
- Integrates with Claude API for content generation and Gmail API for email delivery.
- Uses a 3-phase workflow involving contextual questions, AI drafting, and human approval.
- Saves the finalized email to Firebase Storage and provides a Gmail message ID upon success.
SKILL.md
.github/skills/email-drafterView on GitHub ↗
--- name: email-drafter description: AI-powered welcome email drafting with Gmail delivery. Uses Claude to generate personalized emails and sends them via Gmail API. Supports review-and-edit approval with 3-phase checkpoint/resume. --- # Email Drafter Skill Uses Claude API to generate personalized welcome emails for new hires, then delivers them via the Gmail API. Supports a 3-phase HITL workflow: contextual question, AI draft generation with review-and-edit approval, and Gmail delivery. ## Behavior 1. LLM generates a contextual question about special topics to include 2. LLM drafts a personalized welcome email from context + user's answer 3. Submit the AI-generated draft for review-and-edit approval 4. On approval: send the email via Gmail API to the new hire ## Required Connections - **AI API Key** — Claude API key for content generation (Anthropic) - **Gmail** — OAuth token for sending emails via Gmail API ## Expected Context Variables - `new_hire_name` — New employee's full name - `new_hire_email` — New employee's email address - `company_name` — Organization name - `manager_email` — Direct manager's email address - `start_date` — Employee's start date ## Output Writes `welcome-email.md` to Firebase Storage containing the finalized welcome email. If Gmail delivery succeeds, includes the message ID.
More from skillmatic-ai/playbooks
- account-provisionerAI-powered account provisioning with Slack welcome and Jira task creation. Uses Claude for plan generation and real API integrations. Supports approve-only approval with 2-phase checkpoint/resume.
- calendar-managerAI-powered week-1 meeting schedule generation with Google Calendar event creation. Uses Claude for schedule optimization and Google Calendar API for real events. Non-interactive, exception-only approval.
- Codebase Analysis"Analyze repository structure, tech stack, and code patterns to inform implementation planning"
- echoA test skill that echoes received input. Used for CI/CD pipeline validation and step agent container lifecycle testing.
- Feasibility Report"Analyze codebase and estimate implementation effort for a proposed feature"
- interactiveA test skill that demonstrates the HITL (human-in-the-loop) flow by asking a question, using the answer, and requesting approval on a draft.
- JTBD Clustering"Cluster support tickets and user feedback into Jobs-to-be-Done themes"
- PRD Template v2"Write a comprehensive Product Requirements Document following the standard template"
- report-generatorAI-powered executive onboarding report compilation. Uses Claude to analyze step results and generate a narrative report. Non-interactive, auto-executes with exception-only approval.
- Sentiment Analysis"Analyze pain intensity and sentiment from customer communications"