Back to Registry
View Author Profile
Official Verified
wecom-email
企业微信邮箱操作 - 使用专用邮箱发送邮件。 支持读取会议纪要、业务文档等作为邮件内容发送。
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chongjie-ran/wecom-emailOr
📧 WeCom Email - 企业微信邮箱
使用专用邮箱发送工作邮件。
快速开始
1. 配置 SMTP
| 配置项 | 值 |
|---|---|
| SMTP服务器 | smtp.exmail.qq.com |
| SMTP端口 | 465 (SSL) |
| 邮箱账号 | YOUR_EMAIL@YOUR_DOMAIN.COM |
| 凭证文件 | ~/.openclaw/workspace/memory/sc-email-credentials.enc |
2. 发送邮件
import smtplib
from email.mime.text import MIMEText
from email.mime.multipart import MIMEMultipart
SMTP_SERVER = "smtp.exmail.qq.com"
SMTP_USER = "YOUR_EMAIL@YOUR_DOMAIN.COM"
SMTP_PASSWORD = "YOUR_PASSWORD"
msg = MIMEMultipart()
msg['From'] = SMTP_USER
msg['To'] = "[email protected]"
msg['Subject'] = "邮件主题"
msg.attach(MIMEText("邮件内容", 'plain', 'utf-8'))
server = smtplib.SMTP_SSL('smtp.exmail.qq.com', 465)
server.login(SMTP_USER, SMTP_PASSWORD)
server.sendmail(SMTP_USER, ["[email protected]"], msg.as_string())
server.quit()
安全规则
发送条件
- ✅ 需要用户明确指令才能发送
- ✅ 只能发送工作相关内容
- ✅ 使用专用邮箱账号
禁止发送
- ❌ 密码、token、密钥等鉴权信息
- ❌ 个人隐私信息
- ❌ 非工作相关内容
账号权限
- 专用邮箱: 仅授权用户可用
- SC代发邮箱: 需用户明确授权
使用示例
发送会议纪要
# 读取会议纪要文件
with open("meeting-minutes.md", 'r') as f:
content = f.read()
# 发送邮件
send_email(
to=["[email protected]"],
subject="会议纪要 - 日期",
body=content
)
命令行发送
# 直接使用Python脚本发送
python3 scripts/send-email.py --to "[email protected]" --subject "主题" --body "内容"
凭证管理
- 凭证位置: ~/.openclaw/workspace/memory/sc-email-credentials.enc
- 编码方式: Base64 或 AES 加密
- 解码命令示例:
base64 -d ~/.openclaw/workspace/memory/sc-email-credentials.enc
相关文件
- 邮箱列表: ~/.openclaw/workspace/memory/enmo-emails.enc
- 个人邮箱: ~/.openclaw/workspace/memory/email-credentials.enc (仅授权账号可用)
触发词
当用户提到以下内容时激活此Skill:
- "发送邮件"
- "发邮件"
- "邮件通知"
- "发送会议纪要"
- "用邮箱通知"
Metadata
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-chongjie-ran-wecom-email": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.
Related Skills
Wecom File Sender
Skill by chongjie-ran
chongjie-ran 3683
minimax-pdf-ocr
使用 MiniMax Vision API 识别 PDF/图片中的文字
chongjie-ran 3683
skill-generator
自然语言描述需求,AI自动生成可复用的Skill。用于:(1)根据需求创建新Skill (2)生成Skill结构 (3)批量生成Skill模板。触发词:创建skill、生成skill、做一个skill
chongjie-ran 3683
wecom-file-detect
企业微信聊天文件获取 - 从 ~/.openclaw/media/inbound/ 目录检测和获取通过聊天传递的文件。 当用户提到获取文件、发送文件、附件等请求时激活。
chongjie-ran 3683
douyin-automation
Puppeteer-based Douyin (TikTok China) video uploader. Automate login, upload and publish videos to Douyin Creator Platform using headless browser. 抖音视频自动化发布工具。Use when uploading video to Douyin, logging in to Douyin, or checking Douyin login status.
chongjie-ran 3683