mailgun-simple

Web & Frontend Development
v2.2.0
Benign

Send outbound emails via the Mailgun API.

2507 downloads507 installsby @lksrz

Setup & Installation

Install command

clawhub install lksrz/mailgun-simple

If the CLI is not installed:

Install command

npx clawhub@latest install lksrz/mailgun-simple

Or install with OpenClaw CLI:

Install command

openclaw skills install lksrz/mailgun-simple

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/lksrz/mailgun-simple

What This Skill Does

Sends outbound emails through the Mailgun API using the official Mailgun JS SDK. Requires a verified sending domain and API key configured via environment variables.

Uses the official Mailgun SDK directly rather than generic SMTP, giving access to Mailgun-specific delivery tracking and EU/US region routing.

When to Use It

  • 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
View original SKILL.md file
# 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

```bash
npm install mailgun.js@12.7.0 form-data@4.0.1
```

## Tools

### Send Email
```bash
MAILGUN_API_KEY=xxx MAILGUN_DOMAIN=example.com MAILGUN_REGION=EU node scripts/send_email.js <to> <subject> <text> [from]
```

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Sending transactional emails from an agent workflow

AGENT
  1. 1Sending transactional emails from an agent workflow
  2. 2Notifying users when a background job completes
  3. 3Dispatching password reset or confirmation emails
  4. 4Alerting a team when a monitored threshold is crossed
  5. 5Forwarding form submissions to an inbox
OUTPUT
Send outbound emails via the Mailgun API.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 26, 2026