Send transactional single email via Dmartech/Iemail OpenAPI using Python.
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) |
~/.openclaw/openclaw.json or workspace config files. OpenClaw injects env at runtime.```bash
python3 {baseDir}/send_email.py --to "recipient@example.com" --subject "Subject" --content "Body"
```
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"
IEMAIL_SENDER matches a configured sender address.共 1 个版本