LaunchKit · 2026
Back to Skills

mailtarget-email

Send transactional and marketing emails via Mailtarget API.

2
358 downloads
by @masasdani

Setup & Installation

openclaw skills install @masasdani/mailtarget-email

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install mailtarget-email

Version History

v1.2.0Feb 23, 2026 - Version note by skill developer:

Added autonomous domain setup workflow with spf-dkim-setup companion skill

What This Skill Does

Sends transactional and marketing emails through the Mailtarget API. Supports HTML emails, attachments, click/open tracking, template-based sending with variable substitution, CC/BCC, and custom headers. Also manages sending domains, email templates, and API keys.

Pairs with the cloudflare-dns skill to automate full domain setup including SPF, DKIM, and CNAME records without any manual DNS editing.

When to use it

  • Send password reset emails from an app
  • Deliver receipts after a purchase
  • Set up and verify a custom sending domain
  • Send newsletter campaigns using stored templates
  • Attach PDF reports to outgoing emails

Example Workflow

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

INPUT

User asks: Send a welcome email to new@user.com using the welcome-template

AGENT
  1. 1Retrieve MAILTARGET_API_KEY from environment
  2. 2POST to /v1/layang/transmissions with recipient, sender, templateId, and substitutionData
  3. 3Confirm response contains transmissionId
OUTPUT

Email queued successfully with transmissionId returned from Mailtarget API

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

MAILTARGET_API_KEY environment variableMailtarget account at mailtarget.co