360 Secure SkillHub
360 安全技能中心

163 Email Skill - SMTP Sender

该 Skill 使用 163 邮箱 SMTP 服务发送纯文本邮件,支持命令行与 Python 模块导入两种调用方式,可配置发件账号、SMTP 授权码、服务器与端口,并支持多收件人。依赖 Python 3.6+ 标准库(smtplib、email),无第三方依赖,需网络与凭据环境变量。

liubindashen
liubindashen
热度 49.32
最近更新 2026-05-11 17:44:26
分类:协作依赖:代码执行 / 第三方 API应用场景:邮件起草 / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 163email-skill
Metadata
name
163email-skill
description
163email skill - Send emails via 163 SMTP service with custom recipient, subject, content. Support CLI and Python import
version
1.2.0
author
geekbin
license
MIT
tags
["163email","email","smtp","notification","utility","latest"]
metadata
{"openclaw":{"requires":{"env":["CLAW_EMAIL","CLAW_EMAIL_AUTH"],"bins":["python"]},"install":[]}}

163email Skill - Email Sender

Send emails via 163 SMTP service. Support custom recipient, subject, content. Both CLI and Python module import calling methods are supported.

Features

  • Send plain text emails via 163 SMTP
  • One-click command line invocation
  • Python module import support
  • SSL encrypted transmission
  • Multiple recipients support

Usage

Method 1: Command Line

python send_email.py "recipient@example.com" "Test Subject" "Email content here"

Method 2: Python Import

from src.send_email import send_mail

send_mail(
    to="recipient@example.com",
    subject="Test Email",
    content="This is the email content"
)

Configuration

Set environment variables before use:

export CLAW_EMAIL="your_163_email@163.com"
export CLAW_EMAIL_AUTH="your_smtp_authorization_code"
export CLAW_SMTP_SERVER="smtp.163.com"  # optional
export CLAW_SMTP_PORT="465"  # optional

Or use in Python:

import os
os.environ["CLAW_EMAIL"] = "your_email@163.com"
os.environ["CLAW_EMAIL_AUTH"] = "your_auth_code"

Requirements

  • Python 3.6+
  • No third-party dependencies (uses smtplib, email standard library)

License

MIT