agentleFS
AgriciDanielAgriciDaniel/claude-email/email/SKILL.md

email

Skill117 starsChanged 8 months agoMITView on GitHub

Comprehensive email management and marketing for any business type. Inbox triage with importance scoring and AI reply suggestions via Gmail or Outlook MCP. Email composition using proven copy frameworks (PAS, AIDA, BAB, FAB). Pre-send quality review scoring subject lines, copy, HTML rendering, dark mode compatibility, and compliance. Domain deliverability auditing with SPF/DKIM/DMARC validation, blacklist checks, and bulk sender compliance (Google/Yahoo/Microsoft 2024-2026 rules). Automation sequence design for welcome series, nurture, re-engagement, abandoned cart, and post-purchase flows. Email marketing strategy with industry-specific templates for local businesses, SaaS, e-commerce, creators, and agencies. Triggers on: "email", "inbox", "check email", "write email", "compose", "email audit", "deliverability", "SPF", "DKIM", "DMARC", "email sequence", "welcome series", "email plan", "email marketing", "subject line", "email review".

41 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use content, calendar and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Rayan55050Skill

    content

    Создание контента: посты, статьи, тексты

    Also in 7 projects that use this

  • jacobraskSkill

    calendar

    Interact with Apple Calendar via AppleScript. Use when the user asks to check calendar, view events, create events, manage schedule, find free time, or list calendars. Triggers include "my calendar", "my schedule", "calendar events", "create event", "add to calendar", "what's on my calendar", "free time", "available slots", "upcoming events", "today's events". Requires macOS with Calendar.app.

    Also in 6 projects that use this

  • anshul-garg27Skill

    repurpose

    Transform one piece of content into 10+ platform-native formats - threads, posts, scripts, newsletters, and more

    Also in 4 projects that use this

  • Rayan55050Skill

    finance

    Финансы: Monobank, подписки, курсы валют, рынки

    Also in 3 projects that use this

  • SentrySkill

    tts

    Generates spoken narration with Gemini TTS through Vercel AI Gateway. Use for text-to-speech, audio samples, voiceovers, or speaking as Junior with the reusable Junior voice. Do not use for transcription, voice cloning, music generation, or rendering a video without a narration request.

    Also in 3 projects that use this

  • jholhewresSkill

    journal

    Daily journaling with structured entries and reflections

    Also in 3 projects that use this

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 13 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 29 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When invoked without arguments:

    line 48
  2. Very specific:

    Check for email-profile.md in project root

    line 49
  3. Distinctive:

    If missing, run first-time onboarding (see User Profile System below)

    line 50
  4. Distinctive:

    If profile exists, detect available MCP servers (Gmail, Outlook, SendGrid)

    line 51
  5. Very specific:

    When the user invokes /email audit, delegate to subagents in parallel:

    line 66
  6. Very specific:

    Run scripts/check_deliverability.py for DNS-based checks

    line 67
  7. Distinctive:

    Create prioritized fix list (Critical -> High -> Medium -> Low)

    line 70
  8. Distinctive:

    Check for Gmail MCP tools (search_gmail_messages, send_gmail_message)

    line 77
  9. Distinctive:

    Check for Outlook MCP tools (list-mail-messages, send-mail)

    line 78
  10. Distinctive:

    Check for marketing MCPs (SendGrid, Mailchimp, Kit.com)

    line 79
  11. Distinctive:

    All sub-skills reference this profile to adapt recommendations

    line 86
  12. Distinctive:

    Every marketing email must include unsubscribe mechanism

    line 107
  13. Distinctive:

    Every marketing email must include physical postal address (CAN-SPAM)

    line 108
  14. Distinctive:

    Never send more than 20 emails per session without explicit approval

    line 111
  15. Distinctive:

    Always show email draft for approval before sending

    line 112
  16. Distinctive:

    Check for these tool patterns to determine available platforms:

    line 175
  17. Very specific:

    If no email MCP is detected, inform the user and offer setup guidance from references/mcp-integration.md.

    line 182

“Common” is measured: kept by at least 6 in 10 of the 29 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Email -- Universal Email Management & Marketing Skill

Comprehensive email management across all business types (local services, SaaS, e-commerce, creators, agencies). Orchestrates 6 specialized sub-skills and 4 subagents.

Quick Reference

CommandWhat it does
/emailInteractive mode: detect context, show inbox summary or menu
/email checkInbox triage: scan, score importance, categorize, suggest replies
/email writeCompose email: choose framework, generate subject + body + HTML
/email review <email>Pre-send quality check: score subject, copy, HTML, compliance
/email audit <domain>Deliverability audit: SPF/DKIM/DMARC, blacklists, compliance
/email sequence <type>Design automation: welcome, nurture, win-back, cart, custom
/email plan <business>Email marketing strategy with industry template

Orchestration Logic

Interactive Mode (/email)

When invoked without arguments:

  1. Check for email-profile.md in project root
  2. If missing, run first-time onboarding (see User Profile System below)
  3. If profile exists, detect available MCP servers (Gmail, Outlook, SendGrid)
  4. Show interactive menu with inbox summary if email MCP is available

Command Routing

For specific commands, load the relevant sub-skill directly:

  • /email check -> skills/email-check/SKILL.md
  • /email write -> skills/email-write/SKILL.md
  • /email review -> skills/email-review/SKILL.md
  • /email audit -> skills/email-audit/SKILL.md
  • /email sequence -> skills/email-sequence/SKILL.md
  • /email plan -> skills/email-plan/SKILL.md

Audit Delegation

When the user invokes /email audit, delegate to subagents in parallel:

  1. Run scripts/check_deliverability.py for DNS-based checks
  2. Spawn subagents: email-deliverability, email-compliance
  3. Collect results and generate unified Email Health Score (0-100)
  4. Create prioritized fix list (Critical -> High -> Medium -> Low)

User Profile System

On first run, generate email-profile.md in the project root:

  1. Detect existing MCP configurations:
    • Check for Gmail MCP tools (search_gmail_messages, send_gmail_message)
    • Check for Outlook MCP tools (list-mail-messages, send-mail)
    • Check for marketing MCPs (SendGrid, Mailchimp, Kit.com)
  2. Ask 4 setup questions:
    • Business type: local business, SaaS, ecommerce, creator, agency, personal
    • Primary email platform: Gmail, Outlook, other
    • Compliance regions: US only, EU/GDPR, both
    • Brand voice: professional, friendly, casual, authoritative
  3. Generate email-profile.md with these settings
  4. All sub-skills reference this profile to adapt recommendations

Profile-Driven Behavior

Business TypeEmphasis
Local businessReview requests, appointment reminders, loyalty, seasonal promos
SaaSOnboarding sequences, feature announcements, churn prevention, NPS
EcommerceAbandoned cart, post-purchase, promotional, cross-sell/upsell
CreatorNewsletter, community engagement, monetization, content teasers
AgencyClient communication, project updates, case studies, proposals
PersonalInbox management, reply drafts, organization

Quality Gates

Hard rules enforced across all sub-skills:

  • Subject lines: 6-10 words / 30-50 characters
  • Spam complaint rate must stay under 0.1% (hard limit: 0.3%)
  • Bounce rate must stay under 2% (ideal: under 1%)
  • HTML email total size under 102 KB (Gmail clips larger emails)
  • Image-to-text ratio: minimum 60% text / 40% images
  • Every marketing email must include unsubscribe mechanism
  • Every marketing email must include physical postal address (CAN-SPAM)
  • One-click unsubscribe headers required (RFC 8058) for bulk senders
  • Honor unsubscribe requests within 2 business days
  • Never send more than 20 emails per session without explicit approval
  • Always show email draft for approval before sending

Reference Files

Load these on-demand as needed -- do NOT load all at startup:

  • references/deliverability-rules.md -- SPF/DKIM/DMARC validation, bulk sender rules
  • references/benchmarks.md -- KPI benchmarks by industry, scoring thresholds
  • references/compliance.md -- CAN-SPAM, GDPR, CCPA, RFC 8058 requirements
  • references/copy-frameworks.md -- PAS, AIDA, BAB, FAB, 4Ps with templates
  • references/technical-standards.md -- HTML rendering, dark mode, responsive design
  • references/mcp-integration.md -- Setup guides for Gmail, Outlook, SendGrid, etc.

Scoring Methodology

Email Health Score (0-100) -- for /email audit

CategoryWeight
Authentication (SPF+DKIM+DMARC)40%
Blacklist Status20%
DNS Configuration15%
Compliance15%
TLS/Security10%

Email Quality Score (0-100) -- for /email review

CategoryWeight
Subject Line25%
Copy Quality25%
Technical (HTML)20%
Deliverability Signals15%
Compliance15%

Priority Levels

  • Critical: Blocks delivery or causes blacklisting (immediate fix)
  • High: Significantly impacts inbox placement (fix within 1 week)
  • Medium: Optimization opportunity (fix within 1 month)
  • Low: Nice to have (backlog)

Sub-Skills

This skill orchestrates 6 specialized sub-skills:

  1. email-check -- Inbox triage, importance scoring, reply suggestions
  2. email-write -- Email composition with copy frameworks and templates
  3. email-review -- Pre-send quality scoring (0-100)
  4. email-audit -- Domain deliverability audit (SPF/DKIM/DMARC, blacklists)
  5. email-sequence -- Automation sequence design (welcome, nurture, win-back)
  6. email-plan -- Email marketing strategy with industry templates

Subagents

For parallel analysis during audits:

  • email-deliverability -- SPF/DKIM/DMARC + blacklist + reputation checks
  • email-compliance -- CAN-SPAM/GDPR/CCPA compliance scanning
  • email-content -- Copy quality and framework adherence scoring
  • email-inbox -- Inbox categorization and importance scoring

MCP Integration

Detecting Available MCP Tools

Check for these tool patterns to determine available platforms:

  • Gmail: search_gmail_messages, send_gmail_message, get_gmail_message_content
  • Outlook: list-mail-messages, send-mail, get-mail-message
  • SendGrid: send_single_email, list_all_contacts, get_stats
  • Mailchimp: get_campaigns, create_campaign, send_campaign
  • Kit.com: kit_list_subscribers, kit_create_broadcast

If no email MCP is detected, inform the user and offer setup guidance from references/mcp-integration.md.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.