Email Review 标志

Email Review

社区
AgriciDaniel
email-review

发送前从 5 个维度(主题行、文案质量、技术/HTML、送达能力、合规性)审核电子邮件质量并评分。分析主题行、正文文案、HTML 结构、垃圾邮件触发因素和 CAN-SPAM 合规情况。评分为 0-100,并提供详细的改进建议。用户想在发送前审核邮件、检查邮件质量或验证营销邮件是否符合最佳实践时使用。

Add to TypingMind

概览

发布者AgriciDaniel
代码仓库claude-email
技能名称email-review
星标数
132
复刻数
32
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 AgriciDaniel 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Email Review AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-review
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git /tmp/claude-email
mkdir -p .claude/skills
cp -r /tmp/claude-email/skills/email-review .claude/skills/email-review
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Email Review,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Email Review。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Email Review 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Email Review Sub-Skill

Purpose

Reviews email content before sending and provides a comprehensive quality score (0-100) across 5 weighted dimensions. Identifies critical issues, suggests improvements, and provides a rewritten version for low-scoring emails.

When to Activate

  • User asks to "review this email"
  • User provides email content (subject + body) for feedback
  • User requests email quality check or score
  • User wants to validate email before sending
  • User provides Gmail draft ID for review
  • User asks about email deliverability or spam risk

Input Formats

Accept email content in any of these formats:

  1. Pasted text - Subject line + body in conversation
  2. File path - Path to HTML email file
  3. Gmail draft ID - Fetch via gmail_get_draft MCP tool
  4. Raw HTML - HTML email source code

Scoring Framework

Overall Score Calculation

Total score = weighted sum of 5 categories:

CategoryWeightFocus
Subject Line25%Length, power words, spam triggers, personalization
Copy Quality25%Word count, CTA clarity, framework structure, readability
Technical/HTML20%Size, responsiveness, dark mode, alt text, preheader
Deliverability15%Spam signals, link count, sender reputation factors
Compliance15%CAN-SPAM, unsubscribe, physical address, RFC 8058

1. Subject Line Scoring (25% weight)

Base Score: 0-100, then weighted at 25%

Length Check (0-25 points)

  • Optimal: 6-10 words OR 30-50 characters = 25 points
  • Acceptable: 5 or 11 words = 20 points
  • Marginal: 4 or 12 words = 10 points
  • Poor: <4 or >12 words = 0 points

Spam Trigger Detection (-5 points each)

Penalize for each occurrence:

  • ALL CAPS words
  • Multiple exclamation marks (!!!)
  • Phrases: "FREE", "Act Now", "Limited Time", "Guaranteed", "Winner", "Click Here", "Buy Now", "Order Now"
  • Excessive punctuation ($$$, ???)

Power Words (+5 points each, max +15)

Bonus for strategic use of:

  • "New", "Exclusive", "Proven", "Secret", "Discover"
  • "Ultimate", "Essential", "Complete", "Breakthrough"
  • Industry-specific power words

Personalization (+10 points)

  • Contains merge tags like {{first_name}} or {{company}}
  • Behavioral personalization indicators

Emoji Usage (+5 or -5)

  • 1 emoji = +5 points (increases open rates)
  • 2+ emojis = -5 points (reduces professionalism)
  • No emoji = 0 points (neutral)

2. Copy Quality Scoring (25% weight)

Base Score: 0-100, then weighted at 25%

Word Count (0-20 points)

  • 150-300 words = 20 points (optimal)
  • 100-149 or 301-400 = 15 points
  • 50-99 or 401-500 = 10 points
  • <50 or >500 = 0 points

CTA Count (0-25 points)

  • 1 primary CTA = 25 points (best conversion)
  • 2 CTAs = 15 points (acceptable)
  • 3+ CTAs = 5 points (diluted focus)
  • 0 CTAs = 0 points (no action path)

CTA Clarity (0-15 points)

Score based on:

  • 15 points: Action verb + benefit ("Get My Free Guide", "Start Your Trial")
  • 10 points: Generic action ("Learn More", "Download")
  • 5 points: Vague ("Submit", "Click Here")
  • 0 points: No CTA or unclear

Framework Structure (0-15 points)

Check if email follows proven framework:

  • PAS (Problem-Agitate-Solution): 15 points
  • AIDA (Attention-Interest-Desire-Action): 15 points
  • BAB (Before-After-Bridge): 15 points
  • FAB (Features-Advantages-Benefits): 15 points
  • 4Ps (Picture-Promise-Proof-Push): 15 points
  • No clear structure: 0 points

Readability (0-15 points)

  • Short paragraphs (2-3 lines max): +5
  • Bullet points or numbered lists: +5
  • Scannable with subheadings: +5
  • No walls of text: +5
  • Deduct -5 for each readability issue

Personalization Beyond Name (0-10 points)

  • Behavioral triggers (past purchase, browsing): +5
  • Location/timezone awareness: +3
  • Industry/role customization: +2

3. Technical/HTML Scoring (20% weight)

Base Score: 100, deduct points for violations

Total Size (-20 if fail)

  • Must be under 102 KB (Gmail clips emails over this)
  • Check HTML + embedded images (if data URIs)

Text-to-Image Ratio (-15 if fail)

  • Minimum 60% text / 40% images
  • Image-heavy emails trigger spam filters

Responsive Design (-10 if fail)

Check for:

  • Viewport meta tag: <meta name="viewport" content="width=device-width">
  • Media queries for mobile breakpoints
  • Fluid tables or container widths

Dark Mode Support (-5 if fail)

Check for:

  • <meta name="color-scheme" content="light dark">
  • CSS with @media (prefers-color-scheme: dark)
  • Dark mode color overrides

Alt Text on Images (-5 per missing)

  • All <img> tags must have alt attribute
  • Alt text should be descriptive, not just filename

Table-Based Layout (-5 if fail)

  • Email should use <table> for layout (HTML email best practice)
  • Deduct if using CSS Grid/Flexbox (poor email client support)

Font Safety (-5 if fail)

  • Must use web-safe fonts with fallbacks
  • Example: font-family: Arial, Helvetica, sans-serif;
  • Avoid custom web fonts without fallbacks

CTA Button Size (-5 if fail)

  • Minimum 44x44 pixels (mobile touch target)
  • Check all <a> styled as buttons

Plain-Text Version (-10 if fail)

  • Must have plain-text MIME part OR
  • Text-only fallback within HTML

Preheader Text (-5 if missing)

  • 30-80 character preview text
  • Located immediately after <body> tag
  • Often hidden with CSS for HTML view

4. Deliverability Signals (15% weight)

Base Score: 100, deduct points for red flags

Spam Word Density (-5 per word)

Count occurrences of spam triggers in body:

  • "Free", "Winner", "Guarantee", "Risk-free", "Act now"
  • "Cash", "Bonus", "Extra income", "Work from home"
  • "Unsecured credit", "Viagra", "Pharmacy"

Link Count (warn at 5+)

  • 0-3 links = 0 penalty
  • 4-5 links = -5 points (warning threshold)
  • 6+ links = -15 points (spam signal)

Image-Only Email (-20 if fail)

  • Emails with only images and no text are spam signals
  • Must have substantive text content

Unsubscribe Link (-25 if missing)

  • Required for marketing emails
  • Must be clearly visible and functional
  • Check for <a> with "unsubscribe" keyword

Sender Name (-10 if generic)

  • Deduct for: "info@", "noreply@", "admin@", "support@"
  • Personal or company name preferred

Link Shorteners (-10 if detected)

  • Penalize use of: bit.ly, tinyurl, goo.gl, ow.ly
  • Spam filters distrust shortened URLs

5. Compliance Scoring (15% weight)

Base Score: 100, deduct points for violations

Physical Address (-20 if missing)

  • CAN-SPAM requires postal address
  • Check footer for street address or P.O. Box

Unsubscribe Mechanism (-25 if missing)

  • Must have working unsubscribe link
  • Should process within 10 business days (CAN-SPAM)

Honest Subject Line (-15 if misleading)

  • Subject must accurately reflect email content
  • No deceptive "Re:" or "Fwd:" if not a reply

RFC 8058 Headers (-10 if missing for bulk)

For bulk/marketing emails, check for:

List-Unsubscribe: <mailto:unsub@example.com>
List-Unsubscribe-Post: List-Unsubscribe=One-Click

Sender Identification (-10 if missing)

  • Must clearly state who is sending the email
  • Check for "From" name and footer company info

Score Interpretation

ScoreRatingStatusRecommendation
90-100Excellent✅ Ready to sendMinor tweaks optional
75-89Good⚠️ Review suggestedAddress medium-priority issues
60-74Fair⚠️ Fix before sendingResolve high-priority issues
40-59Poor❌ Needs reworkSignificant changes required
0-39Critical❌ DO NOT SENDMajor compliance/deliverability issues

Output Format

Structure the review report as:

  1. Header: ## Email Quality Review with overall score, rating, status
  2. Score table: 5 categories with raw score, weight, and weighted score
  3. Issues Found: Grouped by severity (Critical/High/Medium/Low) with specific fixes
  4. Detailed Breakdown: Per-category analysis (subject length/triggers/power words, word count/CTA/framework, HTML size/responsive/dark mode, spam words/links, address/unsubscribe/RFC 8058)
  5. Improved Version (if score < 75): Rewritten subject line, copy fix recommendations, HTML fixes

Use status badges: ✅ Ready to send (90+), ⚠️ Review suggested (75-89), ⚠️ Fix before sending (60-74), ❌ Needs rework (40-59), ❌ DO NOT SEND (0-39).


Workflow

Step 1: Intake

Identify input format and extract:

  • Subject line
  • Body copy (text or HTML)
  • HTML source (if applicable)

Step 2: Run Analysis Scripts (if available)

Check for and execute:

bash
# Subject line scoring
python scripts/score_subject_line.py --subject "[subject]"

# HTML email analysis
python scripts/analyze_email_html.py --file [path]

Step 3: Manual Scoring

For each category:

  1. Start with base score
  2. Apply positive adjustments
  3. Apply penalties
  4. Calculate weighted score

Step 4: Reference Checks

Consult knowledge files for edge cases:

  • references/technical-standards.md - HTML/CSS email rules
  • references/compliance.md - CAN-SPAM, GDPR, CASL requirements
  • references/deliverability-rules.md - Deliverability scoring and spam signal reference

Step 5: Generate Report

Format output per template above, ensuring:

  • Clear categorization of issues by severity
  • Actionable fix recommendations
  • Improved version if score < 75

Step 6: User Confirmation

Ask user if they want to:

  • Apply suggested improvements
  • Re-review after manual edits
  • Send as-is (if score >= 75)

Quality Gates

Hard Rules (Automatic Failure)

These issues result in "DO NOT SEND" status regardless of total score:

  1. Missing unsubscribe link (for marketing emails)
  2. Missing physical address (CAN-SPAM violation)
  3. Email size > 102 KB (Gmail will clip)
  4. Image-only email (no text content)
  5. Deceptive subject line (FTC violation)

Edge Cases

Gmail Drafts

If user provides draft ID:

  1. Use gmail_get_draft MCP tool to fetch
  2. Extract subject from payload.headers
  3. Extract HTML body from payload.parts (mimeType = text/html)
  4. Proceed with normal review

Plain-Text Emails

If email has no HTML:

  1. Skip technical/HTML scoring (default to 80/100)
  2. Focus on copy quality, subject line, compliance
  3. Adjust weighting: Subject 30%, Copy 35%, Deliverability 20%, Compliance 15%

Non-English Emails

  1. Note language in report
  2. Skip spam word detection (English-specific)
  3. Focus on structural/technical issues
  4. Provide caveats about readability scoring

Transactional Emails

If email is transactional (receipts, confirmations):

  1. Relax compliance rules (unsubscribe not required)
  2. Focus on technical delivery and clarity
  3. Note in report: "Transactional email - relaxed marketing rules"

Tools Integration

Available Scripts

Run these scripts from the scripts/ directory:

score_subject_line.py

  • Input: python scripts/score_subject_line.py --subject "Subject line text" --json
  • Output: JSON with length, spam triggers, power words, score
  • Use: Auto-score subject line component

analyze_email_html.py

  • Input: python scripts/analyze_email_html.py --file path/to/email.html --json
  • Output: JSON with size, responsiveness, alt text, preheader, issues
  • Use: Auto-score technical/HTML component

MCP Tools

gmail_get_draft

  • Fetch draft email from Gmail by ID
  • Extract subject and HTML body

gmail_send_message

  • Send reviewed email (after user approval)

Examples

High-scoring email (92/100): Subject "New guide: 5 proven SEO tactics for 2026" -- 8 words, power word, no spam triggers, 280 words, 1 CTA, responsive HTML, all compliance elements present. Status: Ready to send.

Low-scoring email (23/100): Subject "FREE MONEY!!! ACT NOW GUARANTEED WINNER!!!" -- all caps, 4 spam triggers, 50 words, 5 CTAs, missing unsubscribe and address. Status: DO NOT SEND (CAN-SPAM violations).


Notes

  • Always run available scripts before manual scoring
  • Reference knowledge files for edge cases
  • Provide specific, actionable recommendations
  • Never approve emails with compliance violations
  • Weight user industry context (B2B vs B2C vs transactional)
  • Update scoring criteria based on evolving best practices

常见问题

Email Review AI 技能有什么作用?

发送前从 5 个维度(主题行、文案质量、技术/HTML、送达能力、合规性)审核电子邮件质量并评分。分析主题行、正文文案、HTML 结构、垃圾邮件触发因素和 CAN-SPAM 合规情况。评分为 0-100,并提供详细的改进建议。用户想在发送前审核邮件、检查邮件质量或验证营销邮件是否符合最佳实践时使用。

为什么在 TypingMind 中使用 Email Review?

因为您只需安装一次,就能搭配任何模型使用。Email Review 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Email Review?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-review。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Email Review?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Email Review 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Email Review 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Email Review AI 技能免费吗?

是的。AgriciDaniel 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇