one-mail

统一邮箱管理 CLI,支持 Gmail、Outlook、网易邮箱(163.com、126.com)。适用于:(1) 收取/发送邮件,(2) 跨账户搜索邮件,(3) 管理多个邮箱账户,(4) 查看邮件统计。当用户提到邮件、邮箱、email、发邮件、收邮件、查邮件时触发。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "one-mail" with this command: npx skills add huangbaixun/one-mail

one-mail

统一管理多个邮箱的 CLI 工具。配置存储在 ~/.onemail/

初始化

首次使用运行 setup 添加账户:

bash scripts/setup.sh

收取邮件

bash scripts/fetch.sh                          # 所有账户
bash scripts/fetch.sh --unread                  # 仅未读
bash scripts/fetch.sh --account gmail           # 指定账户
bash scripts/fetch.sh --query "AI agent"        # 搜索
bash scripts/fetch.sh --limit 10                # 限制数量

阅读邮件

bash scripts/read.sh --id <message_id> --account <name>
bash scripts/read.sh --account outlook --latest
bash scripts/read.sh --account gmail --query "MacBook"
bash scripts/read.sh --json                     # JSON 输出

发送邮件

bash scripts/send.sh \
  --to "recipient@example.com" \
  --subject "Hello" \
  --body "Email content"

# 指定账户 + 附件
bash scripts/send.sh \
  --account outlook \
  --to "recipient@example.com" \
  --subject "Report" \
  --body "See attachment" \
  --attach "/path/to/file.pdf"

注意:Outlook 附件限制 3MB。

账户管理

bash scripts/accounts.sh list                   # 列出账户
bash scripts/accounts.sh add                    # 添加账户
bash scripts/accounts.sh remove <account_id>    # 删除账户
bash scripts/accounts.sh set-default <id>       # 设置默认

统计

bash scripts/stats.sh

提供商要求

提供商认证方式前置条件
GmailOAuth 2.0需要 gog CLI
OutlookOAuth 2.0 (Graph API)需要 Mail.ReadWrite + Mail.Send 权限
网易 163IMAP/SMTP需要开启 IMAP 并使用应用密码
网易 126IMAP/SMTP需要开启 IMAP 并使用应用密码

依赖

必需:curljqpython3。可选:gog(Gmail OAuth)。

故障排除

遇到认证或连接问题时,参考 troubleshooting.md

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Uplo Healthcare

AI-powered healthcare knowledge management. Search clinical notes, care plans, lab results, prescriptions, and patient pathways with structured extraction.

Registry SourceRecently Updated
Coding

netease-music-cli

使用 ncm-cli 操作网易云音乐。当用户想播放歌曲、搜索歌曲、控制播放(暂停、下一首、上一首、调音量)、管理播放队列、查看播放状态、播放歌单时,使用此 skill。

Registry SourceRecently Updated
Coding

Ai Daily News By Fang

AI 技术进展追踪工具。当用户询问 AI 领域最新动态时触发,如:"今天有什么 AI 新闻?""总结一下这周的 AI 动态""最近有什么技术进展?""AI 圈最近在讨论什么?"。专注追踪:模型发布(国际+国内)、AI 工具迭代(新工具/CLI/功能更新)、重要技术公告,社区爆火项目/论文、新理念/新范式/新实践。...

Registry SourceRecently Updated
Coding

Uplo Nonprofit

AI-powered nonprofit knowledge management. Search grant documentation, donor records, program reports, and compliance data with structured extraction.

Registry SourceRecently Updated