ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Qqmail Sender

Skill by feastfuyan

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/feastfuyan/qqmail-sender
Or

QQ邮箱邮件发送技能 | Email Sender Skill

概述 | Overview

这是一个专为 OpenClaw AI Agent 设计的邮件自动发送和接收技能。通过 SMTP/POP3 协议实现邮件收发,支持附件、抄送等功能。

This is an email automation skill designed for OpenClaw AI Agents. It enables email sending and receiving via SMTP/POP3 protocols, with support for attachments and CC.


解决的问题 | Problem Solving

多 OpenClaw 协作痛点 | Multi-Agent Collaboration Pain Points

使用飞书的局限:

  • ❌ Agent 群聊消息容易丢失
  • ❌ 云文档沟通效率低,经常出现空白内容
  • ❌ 消息同步不及时,无法追踪任务状态

Limitations of using Feishu (Lark):

  • ❌ Group chat messages between agents are often lost
  • ❌ Cloud document communication is inefficient with frequent blank content
  • ❌ Message sync is not timely, making task tracking difficult

邮件协作的优势:

  • ✅ 消息100%可靠传输,不会丢失
  • ✅ 完整的对话历史记录,便于追溯
  • ✅ 支持附件传输,方便文件共享
  • ✅ 跨平台兼容,任何邮件客户端都能接收

Advantages of Email Collaboration:

  • ✅ 100% reliable message delivery, never lost
  • ✅ Complete conversation history for easy tracking
  • ✅ Supports file attachments for easy sharing
  • ✅ Cross-platform compatibility, works with any email client

核心功能 | Core Features

功能Feature说明
发送邮件Send Email支持纯文本、HTML格式
附件发送Attachments支持PDF、图片、文档等
抄送功能CC/BCC支持多人抄送
邮件接收Receive Email定时检查收件箱
自动回复Auto Reply可配置自动回复规则

使用场景 | Use Cases

1. 多 Agent 任务协作 | Multi-Agent Task Collaboration

# Agent A 完成任务后通知 Agent B
send_email(
    to="[email protected]",
    subject="任务完成: 数据分析",
    body="已完成数据分析,结果见附件"
)

2. 定时报告推送 | Scheduled Report Delivery

# 每日自动发送报告
send_email(
    to="[email protected]", 
    subject="每日工作报告",
    attachment="/path/to/report.pdf"
)

3. 跨平台文件传输 | Cross-Platform File Transfer

# 文件在不同设备间传输
send_email(
    to="[email protected]",
    attachment="/large/file.zip"
)

技术配置 | Technical Configuration

QQ邮箱配置 | QQ Mail Configuration

配置项ConfigValue
SMTP服务器SMTP Serversmtp.qq.com
SMTP端口SMTP Port465 (SSL) / 587 (TLS)
POP3服务器POP3 Serverpop.qq.com
POP3端口POP3 Port995 (SSL)
用户名Username[email protected]
密码Password授权码(非QQ密码)

获取授权码 | Get Authorization Code

  1. 登录 mail.qq.com
  2. 进入设置 → 账户
  3. 开启 POP3/SMTP 服务
  4. 获取授权码

安装依赖 | Installation

pip install python-docx

示例代码 | Sample Code

发送简单邮件 | Send Simple Email

import smtplib
import ssl
from email.mime.text import MIMEText

smtp_server = "smtp.qq.com"
smtp_port = 465
username = "[email protected]"
password = "授权码"

msg = MIMEText("邮件内容", "plain", "utf-8")
msg["Subject"] = "邮件标题"
msg["From"] = username
msg["To"] = "[email protected]"

ctx = ssl.create_default_context()
with smtplib.SMTP_SSL(smtp_server, smtp_port, context=ctx) as server:
    server.login(username, password)
    server.send_message(msg)

Metadata

Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-feastfuyan-qqmail-sender": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.