Skip to main content
OpenClaw is an open-source AI agent for WhatsApp, Telegram, Discord, and Slack. The official Migma skill gives it the ability to generate, send, validate, and export emails from a chat message.

Any chat platform

WhatsApp, Telegram, Discord, Slack

Full email workflow

Generate, validate, send, and export

One command install

Install the official skill in seconds

Installation

openclaw skills install MigmaAI/migma-skills/migma

Configuration

Add your Migma API key to ~/.openclaw/openclaw.json:
{
  "skills": {
    "entries": {
      "migma": {
        "enabled": true,
        "env": {
          "MIGMA_API_KEY": "sk_live_your_key_here"
        }
      }
    }
  }
}
Get your API key from Settings → API Keys. Optionally, set a default project ID to skip specifying it each time:
"MIGMA_PROJECT_ID": "your_project_id"
Verify the skill is loaded:
openclaw skills list --eligible

Quick start

1

Create a sending domain

Tell your agent: “Set up a sending domain for mycompany”This creates hello@mycompany.migma.email — verified instantly, no DNS needed. See Sending Domains.
2

Set a default project

“List my projects and set one as default”A project holds your brand identity (logo, colors, fonts, tone). If you don’t have one: “Import our brand from https://yourbrand.com
3

Generate and send

“Create a welcome email and send it to sarah@example.comThe agent generates the email, then sends it using the conversation ID.
Want to send from your own domain? See Add a Custom Domain for DNS setup.

Features

The official skill provides:
FeatureDescription
AI email generationDescribe what you want, get production-ready HTML
Instant sendingSend through managed domains — no DNS setup. Connect external providers like SES or Resend.
ValidationDeliverability, spam score, links, compatibility
Audience managementContacts, tags, segments, bulk CSV import
Batch campaignsSend to a tag or segment in one command
Platform exportKlaviyo, Mailchimp, HubSpot, PDF, MJML. See export options.
Brand importImport from any website automatically
PersonalizationContacts and subscriber data included automatically

Example prompts

  • “Create a welcome email for new subscribers”
  • “Design a Black Friday sale email with 30% off”
  • “Send that email to sarah@example.com
  • “Check if this email will land in spam”
  • “Send our newsletter to the VIP segment”
  • “Export this email to Klaviyo”
  • “Import our brand from https://ourwebsite.com
  • “Add john@example.com to our contacts”
  • “Create a product launch email, validate it, then send to our launch list”

Custom skill

For more control, you can create a custom skill instead of using the official one. See the full OpenClaw tutorial for the custom skill setup with SKILL.md and curl-based API calls.

Resources