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

Communication
Email

Send transactional email via Iemail OpenAPI. Configure via OpenClaw skill env only.

Install

openclaw skills install @jack-atlas/iemail-send

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"
      }
    }
  }
}
VariableDescription
IEMAIL_ACCESS_KEYOpenAPI access key
IEMAIL_ACCESS_KEY_SECRETOpenAPI access key secret
IEMAIL_SENDERSender email address (required)
IEMAIL_TODefault 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.