Email Automation 📧
Automate your email inbox with AI-powered triage, categorization, and draft replies. Achieve inbox zero effortlessly.
What It Does
- - 📥 Smart Triage: AI analyzes and prioritizes incoming emails
- 🏷️ Auto-Categorization: Sort emails into custom categories
- ✍️ Draft Replies: AI generates context-aware reply drafts
- 🗑️ Auto-Archive: Clean up newsletters, notifications, receipts
- ⚠️ Urgent Alerts: Get notified for important emails
- 📊 Inbox Analytics: Track email patterns and time saved
Installation
CODEBLOCK0
Commands
Process Inbox
CODEBLOCK1
Generate Reply Drafts
CODEBLOCK2
Clean Inbox
CODEBLOCK3
Inbox Summary
CODEBLOCK4
Urgent Emails Only
CODEBLOCK5
Setup Wizard
CODEBLOCK6
Configuration
Environment Variables
CODEBLOCK7
Gmail Setup (Recommended)
- 1. Visit https://console.cloud.google.com
- Create new project
- Enable Gmail API
- Create OAuth credentials
- Download credentials.json
- Place in secure location
- Set
GMAIL_CREDENTIALS_FILE path
Outlook Setup
- 1. Visit https://portal.azure.com
- Register app in Azure AD
- Add Microsoft Graph permissions
- Generate access token
- Set INLINECODE1
Output Examples
Inbox Summary
CODEBLOCK8
Auto-Categorization
CODEBLOCK9
Draft Replies
CODEBLOCK10
Automation Rules
Default Rules
| Condition | Action |
|---|
| From boss/client | Mark urgent |
| Contains "ASAP", "urgent" |
Mark urgent |
| Newsletter sender | Auto-archive after 7 days |
| Receipt/invoice | Label & archive |
| Notification | Auto-archive after 3 days |
| Unsubscribe header | Suggest unsubscribe |
Custom Rules
Create rules.yml:
CODEBLOCK11
Integration with Other Skills
rss-to-social
CODEBLOCK12
social-insights
CODEBLOCK13
seo-content-pro
CODEBLOCK14
Use Cases
Inbox Zero
- - Process 100+ emails in minutes
- Auto-archive low-priority
- Focus on what matters
Business Email
- - Prioritize client emails
- Draft professional replies
- Never miss urgent messages
Personal Email
- - Filter newsletters
- Organize receipts
- Clean inbox automatically
Pricing Integration
This skill powers LobsterLabs email services:
- - Setup & Configuration: $299 one-time
- Monthly Management: $199/month
- Business Plan: $499/month (multiple accounts)
Contact: PayPal 492227637@qq.com
Tips for Best Results
- 1. Start with Gmail - Best API support
- Use App Passwords - More secure than regular passwords
- Review First Week - Train AI on your preferences
- Customize Categories - Match your workflow
- Set Up Filters - Combine with email provider filters
Troubleshooting
Authentication Failed
- - Verify credentials are correct
- Check API permissions
- Regenerate tokens if expired
Emails Not Categorizing
- - Ensure categories are configured
- Check AI model access
- Review categorization rules
Drafts Not Generated
- - Verify unread emails exist
- Check AI model availability
- Review draft folder permissions
Changelog
1.0.0 (2026-03-07)
- - Initial release
- Gmail/Outlook/IMAP support
- AI-powered categorization
- Auto-reply drafts
- Smart archiving
- Inbox analytics
💖 支持作者
如果你觉得这个技能有用,请考虑打赏支持:
- - PayPal: 492227637@qq.com
- 微信支付: 请扫码打赏
- 支付宝: 请扫码打赏
- 邮箱: 492227637@qq.com
你的支持是我持续改进的动力!


电子邮件自动化 📧
利用AI驱动的分类、整理和草稿回复功能,实现收件箱自动化管理。轻松达到收件箱零积压。
功能概述
- - 📥 智能分类:AI分析并优先处理收到的邮件
- 🏷️ 自动归类:将邮件归入自定义类别
- ✍️ 草稿回复:AI生成上下文相关的回复草稿
- 🗑️ 自动归档:清理新闻通讯、通知、收据等
- ⚠️ 紧急提醒:重要邮件即时通知
- 📊 收件箱分析:追踪邮件模式及节省的时间
安装
bash
clawhub install email-automation
命令
处理收件箱
处理我的收件箱并对邮件进行分类
生成回复草稿
为未读的重要邮件起草回复
清理收件箱
归档7天前的新闻通讯和通知
收件箱摘要
显示我今天的收件箱摘要
仅显示紧急邮件
仅显示今天的紧急邮件
设置向导
帮我设置电子邮件自动化
配置
环境变量
bash
邮件服务商
export EMAIL_PROVIDER=gmail # gmail|outlook|imap
你的邮箱地址
export EMAIL_ADDRESS=your@email.com
Gmail API(如果使用Gmail)
export GMAIL
CREDENTIALSFILE=/path/to/credentials.json
Outlook API(如果使用Outlook)
export OUTLOOK
ACCESSTOKEN=your
accesstoken
IMAP(如果使用其他服务商)
export IMAP_SERVER=imap.example.com
export IMAP
USERNAME=yourusername
export IMAP
PASSWORD=yourapp_password
自动化设置
export AUTO_ARCHIVE=true
export CATEGORIES=urgent,important,newsletters,notifications,receipts
Gmail设置(推荐)
- 1. 访问 https://console.cloud.google.com
- 创建新项目
- 启用Gmail API
- 创建OAuth凭据
- 下载credentials.json
- 存放在安全位置
- 设置GMAILCREDENTIALSFILE路径
Outlook设置
- 1. 访问 https://portal.azure.com
- 在Azure AD中注册应用
- 添加Microsoft Graph权限
- 生成访问令牌
- 设置OUTLOOKACCESSTOKEN
输出示例
收件箱摘要
📧 收件箱摘要 - 2026年3月7日
总邮件数:47
• 紧急:3
• 重要:8
• 新闻通讯:15
• 通知:12
• 收据:5
• 未读:11
主要发件人:
- 1. Amazon(5封邮件)
- GitHub(4封邮件)
- LinkedIn(3封邮件)
节省时间:约2小时
自动归类
🏷️ 已归类47封邮件:
[紧急](3封)
• 老板:会议改期至下午3点
• 客户:合同需尽快审核
• 银行:可疑活动警报
[重要](8封)
• 团队:项目更新
• 新闻通讯:行业洞察
...
[新闻通讯](15封)
• TechCrunch每日简报
• Hacker News摘要
...
[通知](12封)
• GitHub通知
• Slack提及
...
[收据](5封)
• Amazon订单确认
• Uber收据
...
回复草稿
✍️ 已生成5份回复草稿:
- 1. 收件人:老板
主题:Re:会议改期
草稿:感谢通知。我会在下午3点到场...
- 2. 收件人:客户
主题:Re:合同审核
草稿:我已审阅合同。以下是我的想法...
草稿已保存至草稿文件夹,供你审阅。
自动化规则
默认规则
| 条件 | 操作 |
|---|
| 来自老板/客户 | 标记为紧急 |
| 包含ASAP、紧急 |
标记为紧急 |
| 新闻通讯发件人 | 7天后自动归档 |
| 收据/发票 | 标记并归档 |
| 通知 | 3天后自动归档 |
| 退订标题 | 建议退订 |
自定义规则
创建rules.yml:
yaml
rules:
- name: VIP发件人
from:
- boss@company.com
- important@client.com
action: mark_urgent
- name: 购物收据
from:
- amazon.com
- ebay.com
action: label_receipts
- name: 社交通知
subject_contains:
- 提到了你
- 新关注者
action: archive
与其他技能的集成
rss-to-social
来自rss-to-social的邮件通知
→ 自动归类为社交媒体更新
→ 阅读后归档
social-insights
每周分析报告
→ 邮件投递
→ 自动生成摘要
seo-content-pro
内容草稿
→ 通过邮件发送供审阅
→ 追踪反馈
使用场景
收件箱零积压
- - 几分钟内处理100+封邮件
- 自动归档低优先级邮件
- 专注于重要事项
商务邮件
个人邮件
定价方案
本技能为LobsterLabs邮件服务提供支持:
- - 设置与配置: 299美元一次性
- 月度管理: 199美元/月
- 商业方案: 499美元/月(多个账户)
联系方式:PayPal 492227637@qq.com
最佳实践建议
- 1. 从Gmail开始 - API支持最佳
- 使用应用密码 - 比普通密码更安全
- 首周审阅 - 训练AI适应你的偏好
- 自定义类别 - 匹配你的工作流程
- 设置过滤器 - 结合邮件服务商过滤器
故障排除
认证失败
- - 验证凭据是否正确
- 检查API权限
- 如令牌过期,重新生成
邮件未归类
- - 确保已配置类别
- 检查AI模型访问权限
- 审阅归类规则
草稿未生成
- - 确认存在未读邮件
- 检查AI模型可用性
- 审阅草稿文件夹权限
更新日志
1.0.0(2026-03-07)
- - 初始版本发布
- 支持Gmail/Outlook/IMAP
- AI驱动分类
- 自动回复草稿
- 智能归档
- 收件箱分析
💖 支持作者
如果你觉得这个技能有用,请考虑打赏支持:
- - PayPal:492227637@qq.com
- 微信支付:请扫码打赏
- 支付宝:请扫码打赏
- 邮箱:492227637@qq.com
你的支持是我持续改进的动力!

