Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
countbot-ai avatar

Email

  • 34 installs
  • 760 repo stars
  • Updated July 15, 2026
  • countbot-ai/countbot

Send and receive email through QQ or 163 mailboxes from the CLI, including attachments and checking for new mail.

About

A CLI for sending and receiving email via QQ or 163 mailboxes using IMAP/SMTP authorization codes. A developer uses it when an agent needs to send, read, or check email.

  • Supports attachments, receiving, and new-mail checks
  • Configured with mailbox authorization codes, not login passwords

Email by the numbers

  • 34 all-time installs (skills.sh)
  • Ranked #1,187 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Jul 31, 2026 (Skillselion catalog sync)
npx skills add https://github.com/countbot-ai/countbot --skill email

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs34
repo stars760
Last updatedJuly 15, 2026
Repositorycountbot-ai/countbot

What it does

Send and receive email through QQ or 163 mailboxes from the CLI, including attachments and checking for new mail.

Files

SKILL.mdMarkdownGitHub ↗

邮件管理

通过 QQ 或 163 邮箱发送和接收邮件。

配置

编辑 skills/email/scripts/config.json,填写邮箱地址和授权码(非登录密码)。

授权码获取:

  • QQ 邮箱:设置 > 账户 > 开启 IMAP/SMTP > 生成授权码
  • 163 邮箱:设置 > POP3/SMTP/IMAP > 开启服务 > 设置授权密码

可通过 default_mailbox 字段设置默认邮箱("qq""163")。

命令行调用

# 发送邮件
python3 skills/email/scripts/mail.py send --to user@example.com --subject "主题" --content "内容"

# 发送带附件
python3 skills/email/scripts/mail.py send --to user@example.com --subject "报告" --content "请查收" --attach report.pdf

# 接收最新邮件
python3 skills/email/scripts/mail.py receive --limit 5

# 接收邮件(JSON 输出,推荐 AI 使用)
python3 skills/email/scripts/mail.py receive --limit 5 --json

# 检查新邮件(最近 N 天)
python3 skills/email/scripts/mail.py check-new --since 1

# 检查新邮件(JSON 输出)
python3 skills/email/scripts/mail.py check-new --since 1 --json

# 删除邮件(移到已删除文件夹,QQ邮箱可恢复)
python3 skills/email/scripts/mail.py delete --ids 123

# 批量删除
python3 skills/email/scripts/mail.py delete --ids 123 124 125

# 彻底删除(不可恢复)
python3 skills/email/scripts/mail.py delete --ids 123 --permanent

# 指定邮箱类型
python3 skills/email/scripts/mail.py --mailbox 163 send --to user@example.com --subject "测试"

删除邮件说明

  • QQ 邮箱(IMAP):默认移到「已删除」文件夹,可以从已删除中恢复。加 --permanent 彻底删除。
  • 163 邮箱(POP3):POP3 协议不支持文件夹操作,删除始终是永久的,不可恢复。

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.