Mailgun Simple for Openclaw

A lightweight integration for sending outbound emails using the official Mailgun JS SDK and API.

lksrz
v2.2.0
Feb 18, 2026
2
1.7k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install mailgun-simple

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install mailgun-simple using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Mailgun Simple?

The Mailgun Simple skill provides a streamlined way for AI agents to send transactional or marketing emails directly through the Mailgun API. By leveraging the official Mailgun JS SDK, this integration ensures reliable delivery and easy configuration for Openclaw Skills developers looking to add communication capabilities to their agents.

This skill is designed to be developer-friendly, supporting essential features like domain verification, regional API endpoints (US/EU), and custom sender profiles. It is a robust choice for developers who need a no-nonsense email solution within their AI-driven workflows and Openclaw Skills environment.

Mailgun Simple Use Cases

  • Sending automated notifications and alerts from an AI agent.
  • Delivering reports or data summaries to stakeholders via email.
  • Triggering transactional emails such as welcome messages or status updates.
  • Integrating email outreach into broader Openclaw Skills automation sequences.

How Mailgun Simple Works

  1. The skill initializes using the official Mailgun JS SDK and form-data library to handle payload construction.
  2. It authenticates with the Mailgun API using the provided API key and verified domain configuration.
  3. The AI agent passes recipient details, subject lines, and the message body to the internal tool script.
  4. The skill identifies the appropriate API region (US or EU) based on the user's environmental configuration.
  5. The email is transmitted via Mailgun's secure infrastructure and the delivery status is returned to the agent for confirmation.

Mailgun Simple Setup

To get started, install the necessary dependencies using npm:

npm install [email protected] [email protected]

You must also configure the following environment variables to enable connectivity with your Mailgun account for your Openclaw Skills:

  • MAILGUN_API_KEY: Your private Mailgun API key.
  • MAILGUN_DOMAIN: Your verified sending domain.
  • MAILGUN_REGION: The API region, either EU or US.
  • MAILGUN_FROM: (Optional) The default sender address for outgoing mail.

Mailgun Simple Data Schema & Taxonomy

The skill manages parameters required for outbound email transmission through a clean metadata structure. The following data schema is utilized during execution:

Field Description Type
to The recipient email address String
subject The email subject line String
text The plain text content of the email String
from Custom sender address override (optional) String

All Openclaw Skills configuration metadata is stored within the skill file to ensure Node.js binaries and environment variables are validated before the process begins.

Mailgun Simple Advanced Features

  • Multi-region support allowing seamless switching between US and EU Mailgun data centers.
  • Full integration with the official Mailgun JS SDK for high reliability and compatibility.
  • Support for custom 'From' addresses to personalize outreach per individual task or agent.
  • Compatibility with Openclaw Skills environment variable management for secure and centralized credential handling.

SKILL.md


Loading

Related Openclaw Skills

Featured*