Baixun.Huang

one-mail

Officev1.3.0
By Baixun.HuangUpdated 2026-05-179 versions · latest released 2026-03-07@clawhub_huangbaixun/one-mail
Email#Gmail#发送邮件#邮件

According to AlphaMoat, as of 2026-09, one-mail has 1,805 downloads and 1 stars — ranked #4,574 of 5,078 AI skills overall, and #361 of 435 in Office.

Installs
171
Downloads
1.8K
Stars
1
Overall Rank
#4,574
Top 91% overall · Top 83% in Office
PlatformInstallsDownloadsStarsComments
ClawHub ↗411.4K-1
SkillHub ↗1711.8K1—

Platforms count differently and update at different times.

What this skill does

The documentation describes configuring accounts, fetching, searching, reading, and sending mail. The card reports command-injection risk in the implementation, and credentials or message content may be exposed; do not use it with real mailboxes until security issues are fixed and reviewed, and verify recipients and attachments before sending. Requires curl, jq, and Python; Gmail OAuth may use gog. Outlook needs the documented mail-read/write and send scopes and limits attachments to 3MB. Credentials and refresh tokens persist in ~/.onemail/credentials.json; restrict access and review storage before setup.

Profile published 2026-10-27

What you can do with it

  • Plan cross-account search criteria
  • Organize mail statistics and categorization requirements
  • Draft a pre-send review workflow

When to use it

  • When designing a unified email workflow
  • When real mail is handled only after security issues are resolved and account authorization is clear

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

Design cross-mailbox search and list permission requirements; do not access accounts or send mail before reviewing command-injection issues.

Monthly Trend

Downloads1.8K
3451.1K1.9K2026-03 · Downloads 4532026-05 · Downloads 9752026-06 · Downloads 1.1K2026-07 · Downloads 1.3K2026-08 · Downloads 1.4K2026-09 · Downloads 1.8K26-0326-09
Stars1
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-091.8K—1
2026-081.4K+7.6%1
2026-071.3K+20.2%1
2026-061.1K+12.7%1
2026-05975—-
2026-03453—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

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

# one-mail

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

## 初始化
Show all (87 lines)

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

```bash
bash scripts/setup.sh
```

## 收取邮件

```bash
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
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
bash scripts/send.sh \
  --to "[email protected]" \
  --subject "Hello" \
  --body "Email content"

# 指定账户 + 附件
bash scripts/send.sh \
  --account outlook \
  --to "[email protected]" \
  --subject "Report" \
  --body "See attachment" \
  --attach "/path/to/file.pdf"
```

注意:Outlook 附件限制 3MB。

## 账户管理

```bash
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
bash scripts/stats.sh
```

## 提供商要求

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

## 依赖

必需:`curl`、`jq`、`python3`。可选:`gog`(Gmail OAuth)。

## 故障排除

遇到认证或连接问题时,参考 [troubleshooting.md](references/troubleshooting.md)。

Popular in Office

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.