OpenClaw · Skill
Mailgun Simple
Send outbound emails using the official Mailgun JS SDK.
Web & Frontend Development
v2.2.0
VirusTotal: Benign
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install lksrz/mailgun-simpleClawHub installer
npx clawhub@latest install lksrz/mailgun-simpleOpenClaw CLI
openclaw skills install lksrz/mailgun-simpleDirect OpenClaw install
openclaw install lksrz/mailgun-simpleWhat this skill does
Send outbound emails using the official Mailgun JS SDK.
Why it matters
Uses the official Mailgun SDK directly rather than generic SMTP, giving access to Mailgun-specific delivery tracking and EU/US region routing.
Typical use cases
- Sending transactional emails from an agent workflow
- Notifying users when a background job completes
- Dispatching password reset or confirmation emails
- Alerting a team when a monitored threshold is crossed
- Forwarding form submissions to an inbox
Source instructions
Mailgun Simple
Send outbound emails using the official Mailgun JS SDK.
Environment Variables
| Variable | Required | Default | Description |
|---|---|---|---|
MAILGUN_API_KEY | Yes | — | Your private Mailgun API key. |
MAILGUN_DOMAIN | Yes | aicommander.dev | Your verified sending domain. |
MAILGUN_REGION | Yes | EU | API region: EU or US. |
MAILGUN_FROM | No | Postmaster <postmaster@{domain}> | Default sender address. |
Setup
npm install mailgun.js@12.7.0 form-data@4.0.1
Tools
Send Email
MAILGUN_API_KEY=xxx MAILGUN_DOMAIN=example.com MAILGUN_REGION=EU node scripts/send_email.js <to> <subject> <text> [from]