从终端进行 AI 驱动的邮件撰写、审核与合规检查。生成专业邮件模板、优化主题行、审计垃圾邮件触发词,并验证 CAN-SPAM/GDPR/CASL 合规性。由 Evolink.ai 提供支持。
适用场景
- 用户想要生成邮件模板(欢迎邮件、密码重置、新闻通讯等)
- 用户要求审核邮件的垃圾邮件触发词或可读性
- 用户需要主题行建议或 A/B 变体
- 用户想要检查邮件内容是否符合 CAN-SPAM/GDPR/CASL
- 用户需要将邮件翻译成其他语言
- 用户咨询 SPF/DKIM/DMARC DNS 配置
快速开始
1. 设置您的 EvoLink API 密钥
export EVOLINK_API_KEY="your-key-here"
获取免费密钥:evolink.ai/signup
2. 生成邮件模板
bash scripts/email.sh generate welcome --tone professional
3. 审核邮件
bash scripts/email.sh review my-email.html
功能
本地命令(无需 API 密钥)
| 命令 | 描述 |
|---|
templates | 列出所有可用的邮件模板类型 |
dns | SPF/DKIM/DMARC 配置指南 |
AI 命令(需要 EVOLINK_API_KEY)
| 命令 | 描述 |
|---|
generate [--tone ] | AI 生成邮件模板 |
review | AI 审核垃圾邮件触发词、可读性和最佳实践 |
subject | AI 生成 5 个主题行变体及 A/B 测试建议 |
compliance | AI 检查 CAN-SPAM、GDPR、CASL 合规性 |
translate --lang | AI 翻译邮件内容 |
模板类型
| 类型 | 描述 |
|---|
welcome | 新用户欢迎邮件 |
password-reset | 包含安全链接的密码重置邮件 |
verification | 邮箱验证 / 双重订阅确认 |
order-confirmation | 电商订单收据 |
shipping | 包含追踪信息的发货通知 |
invoice | 付款发票 / 账单收据 |
newsletter | 新闻通讯 / 内容摘要 |
promotion | 促销优惠 / 销售公告 |
reengagement | 重新激活不活跃用户 |
security-alert | 账户安全通知 |
语气
professional · casual · friendly · urgent · minimal
示例
生成欢迎邮件
bash scripts/email.sh generate welcome --tone friendly
审核邮件问题
bash scripts/email.sh review campaign.html
输出:
=== Email Review ===
Spam Score: 2/10 (Low Risk)
Issues Found:
[SPAM] "FREE" in subject — common spam trigger word
[WARN] No plain-text alternative mentioned
[OK] Unsubscribe link present
[OK] Physical address included
[OK] Image-to-text ratio acceptable
Readability: Grade 8 (Good)
Estimated deliverability: High
生成主题行变体
bash scripts/email.sh subject newsletter.html
检查合规性
bash scripts/email.sh compliance promo-email.html
翻译邮件
bash scripts/email.sh translate welcome.html --lang Spanish
DNS 配置指南
bash scripts/email.sh dns
配置
| 变量 | 默认值 | 必填 | 描述 |
|---|
EVOLINK_API_KEY | — | 是(AI 命令) | 您的 EvoLink API 密钥。免费获取 |
EVOLINK_MODEL | claude-opus-4-6 | 否 | AI 分析使用的模型 |
必需二进制文件:
python3、
curl安全
数据传输
AI 命令将邮件内容发送到 api.evolink.ai 由 Claude 进行分析。设置 EVOLINK_API_KEY 并使用这些命令即表示您同意此数据传输。响应返回后数据不会被存储。templates 和 dns 命令完全在本地运行,永不传输数据。
网络访问
api.evolink.ai — AI 分析(仅 AI 命令)
持久化与权限
API 载荷的临时文件会自动清理。不存储任何凭证或持久化数据。
链接
AI-powered email writing, review, and compliance checking from your terminal. Generate professional email templates, optimize subject lines, audit for spam triggers, and verify CAN-SPAM/GDPR/CASL compliance.
Powered by Evolink.ai
When to Use
- User wants to generate an email template (welcome, password reset, newsletter, etc.)
- User asks to review an email for spam triggers or readability
- User needs subject line suggestions or A/B variants
- User wants to check email content for CAN-SPAM/GDPR/CASL compliance
- User needs to translate an email to another language
- User asks about SPF/DKIM/DMARC DNS setup
Quick Start
1. Set your EvoLink API key
export EVOLINK_API_KEY="your-key-here"
Get a free key: evolink.ai/signup
2. Generate an email template
bash scripts/email.sh generate welcome --tone professional
3. Review an email
bash scripts/email.sh review my-email.html
Capabilities
Local Commands (no API key needed)
| Command | Description |
|---|
templates | List all available email template types |
dns | SPF/DKIM/DMARC configuration guide |
AI Commands (require EVOLINK_API_KEY)
| Command | Description |
|---|
generate [--tone ] | AI generate email template |
review | AI review for spam triggers, readability, and best practices |
subject | AI generate 5 subject line variants with A/B tips |
compliance | AI check CAN-SPAM, GDPR, CASL compliance |
translate --lang | AI translate email content |
Template Types
| Type | Description |
|---|
welcome | New user onboarding email |
password-reset | Password reset with secure link |
verification | Email address verification / double opt-in |
order-confirmation | E-commerce order receipt |
shipping | Shipping notification with tracking |
invoice | Payment invoice / billing receipt |
newsletter | Newsletter / content digest |
promotion | Promotional offer / sale announcement |
reengagement | Win-back inactive users |
security-alert | Account security notification |
Tones
professional · casual · friendly · urgent · minimal
Examples
Generate a welcome email
bash scripts/email.sh generate welcome --tone friendly
Review email for issues
bash scripts/email.sh review campaign.html
Output:
=== Email Review ===
Spam Score: 2/10 (Low Risk)
Issues Found:
[SPAM] "FREE" in subject — common spam trigger word
[WARN] No plain-text alternative mentioned
[OK] Unsubscribe link present
[OK] Physical address included
[OK] Image-to-text ratio acceptable
Readability: Grade 8 (Good)
Estimated deliverability: High
Generate subject line variants
bash scripts/email.sh subject newsletter.html
Check compliance
bash scripts/email.sh compliance promo-email.html
Translate email
bash scripts/email.sh translate welcome.html --lang Spanish
DNS setup guide
bash scripts/email.sh dns
Configuration
| Variable | Default | Required | Description |
|---|
EVOLINK_API_KEY | — | Yes (AI commands) | Your EvoLink API key. Get one free |
EVOLINK_MODEL | claude-opus-4-6 | No | Model for AI analysis |
Required binaries:
python3,
curlSecurity
Data Transmission
AI commands send email content to api.evolink.ai for analysis by Claude. By setting EVOLINK_API_KEY and using these commands, you consent to this transmission. Data is not stored after the response is returned. The templates and dns commands run entirely locally and never transmit data.
Network Access
api.evolink.ai — AI analysis (AI commands only)
Persistence & Privilege
Temporary files for API payloads are cleaned up automatically. No credentials or persistent data are stored.
Links