⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

claw-email-skill

@liubindashen0 stars

Email sending skill for OpenClaw, support SMTP service, custom recipient, subject and content

/10

// RATINGS

GitHub Stars

New / niche

🟢ProSkills Score
📍

Not yet listed on ClawHub or SkillsMP

// README

claw-email-skill

基于163邮箱SMTP的邮件发送OpenClaw技能,支持自定义收件人、主题、内容,支持命令行调用和Python导入调用两种方式。

功能特性

  • ✅ 支持纯文本邮件发送
  • ✅ 命令行一键调用
  • ✅ 支持Python模块导入调用
  • ✅ 自动SSL加密传输,安全可靠
  • ✅ 兼容所有支持SMTP协议的邮箱服务(默认配置163邮箱,可自行修改适配其他邮箱)

环境依赖

  • Python 3.6+
  • 无第三方依赖,使用标准库smtplib、email模块

使用方法

方式1:命令行调用

python3 send_email.py <收件人邮箱> <邮件主题> <邮件正文内容>

示例

python3 send_email.py "[email protected]" "测试邮件" "这是一封测试邮件内容"

方式2:Python模块导入调用

from send_email import send_mail

# 参数说明
# to: 收件人邮箱,多个收件人用英文逗号分隔
# subject: 邮件主题
# content: 邮件正文内容
send_mail(to="[email protected]", subject="测试邮件", content="这是测试内容")

配置说明

使用前需要修改send_email.py中的邮箱配置:

# 发件人邮箱配置
SENDER = "{{你的发件人邮箱地址}}"
# 邮箱SMTP授权码(163邮箱在设置→POP3/SMTP/IMAP中获取)
AUTH_CODE = "{{你的邮箱SMTP授权码}}"
# SMTP服务器地址(163邮箱为smtp.163.com,其他邮箱请修改为对应服务地址)
SMTP_SERVER = "smtp.163.com"
# SMTP端口(SSL加密端口,163邮箱为465)
SMTP_PORT = 465

注意事项

  • 请勿将包含授权码的脚本提交到公开代码仓库
  • 发送频率请遵循对应邮箱服务商的限制,避免被判定为垃圾邮件
  • 发送垃圾邮件、违法违规内容后果自负

claw-email-skill (English)

OpenClaw skill for sending emails via 163 SMTP service, supports custom recipient, subject, content, both CLI and Python import calling methods are supported.

Features

  • ✅ Support plain text email sending
  • ✅ One-click call via command line
  • ✅ Support import as Python module
  • ✅ Automatic SSL encrypted transmission, safe and reliable
  • ✅ Compatible with all email services supporting SMTP protocol (default configuration for 163 email, can be modified for other email providers)

Dependencies

  • Python 3.6+
  • No third-party dependencies, uses standard library smtplib and email modules

Usage

Method 1: Command Line Call

python3 send_email.py <recipient_email> <email_subject> <email_content>

Example

python3 send_email.py "[email protected]" "Test Email" "This is test email content"

Method 2: Import as Python Module

from send_email import send_mail

# Parameter description
# to: recipient email, separate multiple recipients with commas
# subject: email subject
# content: email content
send_mail(to="[email protected]", subject="Test Email", content="This is test content")

Configuration

Before use, modify the email configuration in send_email.py:

# Sender email configuration
SENDER = "{{your_sender_email_address}}"
# Email SMTP authorization code (for 163 email, get it in Settings → POP3/SMTP/IMAP)
AUTH_CODE = "{{your_email_SMTP_authorization_code}}"
# SMTP server address (smtp.163.com for 163 email, modify to corresponding address for other providers)
SMTP_SERVER = "smtp.163.com"
# SMTP port (SSL encrypted port, 465 for 163 email)
SMTP_PORT = 465

Notes

  • Do not submit scripts containing authorization codes to public code repositories
  • Please follow the sending frequency limits of the corresponding email service provider to avoid being judged as spam
  • You are responsible for the consequences of sending spam or illegal content

// HOW IT'S BUILT

KEY FILES

SKILL.mdREADME.md

// REPO STATS

0 stars

// ACTIONS

Rate this skill

login to rate

// SCORE

Pending review

// DETAILS

Categoryother
Versionversion unknown
PriceFree