360 Secure SkillHub
360 安全技能中心

Email Send

该 Skill 说明如何用 msmtp 命令行经 SMTP 发送简单邮件:通过管道传入正文或包含 To/Subject 的完整头信息,支持 --cc、--bcc、--attach 选项,需要 SMTP_HOST、SMTP_PORT、SMTP_USER、SMTP_PASS 环境变量,并提供 dnf 安装方式。

分类:协作
xejrax
xejrax
热度 54.82
最近更新 2026-05-17 11:21:13

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add xejrax/email-send
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
email-send
description
Send a quick email via SMTP using `msmtp` without opening a full mail client.
metadata
{"openclaw":{"emoji":"📧","requires":{"bins":["msmtp"]},"install":[{"id":"dnf","kind":"dnf","package":"msmtp","bins":["msmtp"],"label":"Install msmtp (dnf)"}]}}

Email Send Skill

Send a quick email via SMTP without opening the full himalaya client. Requires SMTP_HOST, SMTP_PORT, SMTP_USER, SMTP_PASS env vars.

Sending Email

Send a basic email:

echo "Meeting at 3pm tomorrow." | msmtp recipient@example.com

Send with subject and headers:

printf "To: recipient@example.com\nSubject: Quick update\n\nHey, the deploy is done." | msmtp recipient@example.com

Options

  • --cc -- carbon copy recipients
  • --bcc -- blind carbon copy recipients
  • --attach <file> -- attach a file

Install

sudo dnf install msmtp