360 Secure SkillHub
360 安全技能中心

Send transactional email via DmartechX/Iemail OpenAPI. Configure in OpenClaw skills env or use secret.md.

该 Skill 提供 Python 脚本与 shell 封装,调用 Iemail OpenAPI 发送单封事务邮件;需在宿主配置中设置访问密钥、密钥 secret 与发件人环境变量,支持收件人、主题、正文参数,并给出 401、发件人地址不匹配等错误的排查提示。

分类:协作
jack-atlas
jack-atlas
热度 40.76
最近更新 2026-05-17 14:17:33

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add jack-atlas/iemail-send
兼容性
OpenClaw 专属
联网要求
需要联网
数据出网
必须出网
Metadata
name
iemail-send
description
Send transactional email via Iemail OpenAPI. Configure via OpenClaw skill env only.
homepage
https://app.dmartech.cn/
metadata
{"openclaw":{"emoji":"📧","requires":{"anyBins":["python3"],"env":["IEMAIL_ACCESS_KEY","IEMAIL_ACCESS_KEY_SECRET","IEMAIL_SENDER"]},"primaryEnv":"IEMAIL_ACCESS_KEY"}}

Iemail Send

Send transactional single email via Dmartech/Iemail OpenAPI using Python.

Configuration

Configure in ~/.openclaw/openclaw.json:

"skills": {
  "entries": {
    "iemail-send": {
      "enabled": true,
      "env": {
        "IEMAIL_ACCESS_KEY": "your-access-key",
        "IEMAIL_ACCESS_KEY_SECRET": "your-access-key-secret",
        "IEMAIL_SENDER": "your-sender@example.com"
      }
    }
  }
}
Variable Description
IEMAIL_ACCESS_KEY OpenAPI access key
IEMAIL_ACCESS_KEY_SECRET OpenAPI access key secret
IEMAIL_SENDER Sender email address (required)
IEMAIL_TO Default recipient (optional)

Agent instructions

  1. Credentials: Read ~/.openclaw/openclaw.json or workspace config files. OpenClaw injects env at runtime.
  2. Send mail: Run script in workspace:
    python3 {baseDir}/send_email.py --to "recipient@example.com" --subject "Subject" --content "Body"
    

Usage examples

python3 {baseDir}/send_email.py --to "recipient@example.com" --subject "Hello" --content "Hello from Iemail"
python3 {baseDir}/send_email.py "recipient@example.com" "Hello" "Hello from Iemail"

Troubleshooting

  • 401 Unauthorized: Check IP whitelist, key/secret, and system time.
  • cannot find senderAddressSn: Check IEMAIL_SENDER matches a configured sender address.