Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

email-agent电子邮件 Agent

Agent Skill

email-agent 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

4,990

周安装

210

GitHub Stars

公开资料未说明

下载量

1,747
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:email-agent(电子邮件 Agent)
来源仓库:https://github.com/seanmwx/email-agent
安装命令:
openclaw skills install email-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install email-agent

简介

电子邮件Agent技能通过SMTP授权码发送邮件,支持多邮箱提供商。

  • 适用于自动化邮件通知和验证码提取,提升沟通效率。
  • 通过API集成实现邮件功能,适合在OpenClaw中辅助开发任务。
  • 安装命令为openclaw skills install email-agent,需确认权限和凭据安全边界。
  • 建议结合原始README了解具体规则,注意维护状态和网络访问限制。

SKILL.md

name
email_sender
description
Send email through SMTP providers such as 126, QQ, Sina, or Aliyun Mail using an SMTP authorization code or mailbox password. Use when the user wants Codex to scaffold SMTP mail sending, configure a .env file, or send a simple test email.

Send SMTP Email

Use this skill when the task is to send a simple email through SMTP with a mailbox account.

Embedded SMTP Config

If the runtime environment does not support .env, use the following embedded configuration block. The sending script can fall back to this block when the env file is missing.

# Provider preset: 126, qq, sina, aliyun, custom
EMAIL_PROVIDER=126

# If EMAIL_PROVIDER=custom, fill these yourself.
SMTP_HOST=smtp.126.com
SMTP_PORT=465

# true for SMTPS on port 465, false for STARTTLS on port 587.
SMTP_USE_SSL=true

# Usually the mailbox address.
SMTP_USERNAME=your_email_username

# 126 / QQ commonly use an SMTP authorization code here.
# Sina / Aliyun may use the mailbox password depending on account settings.
SMTP_PASSWORD=your_smtp_secret

FROM_EMAIL=your_email_username
FROM_NAME=your_name

# Seconds
SMTP_TIMEOUT=30

Trigger Cues

Use this skill when the user asks for any of the following:

  • send a one-off test email through SMTP
  • configure .env for a mailbox account such as 126, qq, sina, or aliyun
  • scaffold a reusable SMTP email sender
  • debug SMTP host, port, SSL, login, or authorization-code issues

Supported Providers

Built-in presets are available for:

  • 126
  • qq
  • sina
  • aliyun
  • custom

See references/providers.md for preset host and authentication notes.

Workflow

  1. Read .env from the repo root. If it does not exist, fall back to the embedded config block in this file.
  2. Resolve provider defaults for 126, qq, sina, or aliyun. If the provider is not listed, require SMTP_HOST and SMTP_PORT.
  3. Read the message inputs from the user request: recipient, subject, and body.
  4. Prefer scripts/send_email.py --dry-run first when validating configuration.
  5. Run scripts/send_email.py with runtime message arguments once the sender, recipient, and secret are confirmed.

Default Behavior

  • SMTP_USERNAME defaults to FROM_EMAIL when left empty.
  • SMTP_USE_SSL=true means SMTPS, typically on port 465.
  • SMTP_USE_SSL=false means SMTP with STARTTLS, typically on port 587.
  • SMTP_PASSWORD is treated as the one secret field, whether the provider expects an authorization code or the mailbox password.

Safety Rules

  • Never print the full value of SMTP_PASSWORD.
  • Treat SMTP_PASSWORD as either an SMTP authorization code or the mailbox password, depending on provider policy.
  • Before a real send, make sure FROM_EMAIL and TO_EMAIL are not placeholder values unless the user explicitly wants a dry run.
  • In normal SMTP usage, keep FROM_EMAIL aligned with the authenticated mailbox unless the provider supports aliases.
  • Prefer a single test message before attempting repeated sends.

Required Inputs

  • EMAIL_PROVIDER
  • SMTP_PASSWORD
  • FROM_EMAIL
  • recipient email
  • subject
  • body

Optional Inputs

  • SMTP_HOST
  • SMTP_PORT
  • SMTP_USE_SSL
  • SMTP_USERNAME
  • FROM_NAME
  • SMTP_TIMEOUT

Minimal .env Contract

For preset providers, the minimum practical configuration is:

EMAIL_PROVIDER=qq
SMTP_PASSWORD=your_smtp_secret
FROM_EMAIL=your_email@qq.com

For custom, also set:

  • SMTP_HOST
  • SMTP_PORT
  • SMTP_USE_SSL

Common Commands

Validate config without sending:

python scripts/send_email.py --to-email someone@example.com --email-subject "Test" --email-body "Hello" --dry-run

Send a real email:

python scripts/send_email.py --to-email someone@example.com --email-subject "Test" --email-body "Hello"

Use a different env file:

python scripts/send_email.py --env-file .tmp-send.env --to-email someone@example.com --email-subject "Test" --email-body "Hello"

Failure Handling

  • Authentication error: verify whether the provider expects an authorization code instead of the normal mailbox password.
  • Connection or timeout error: verify host, port, SSL mode, and whether the mailbox enabled SMTP.
  • Sender rejected: make FROM_EMAIL match the authenticated mailbox unless the provider explicitly supports aliases.
  • Custom provider: set SMTP_HOST, SMTP_PORT, and SMTP_USE_SSL explicitly in .env.

Example Requests

  • "Send a test email to someone@example.com through QQ SMTP."
  • "给 xxx@xxx.com 发一个主题为 xxx 内容为 xxx 的邮件。"
  • "Set up .env for 126 mailbox SMTP."
  • "Why does my SMTP login pass but the server rejects the sender address?"

Resources

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

96.67%
按下载量换算1,689

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills