Skip to content
TakoAPI
Back to skills

mailtarget-email

by masasdani

Web & Frontend Development
358Downloads reported by clawskills.sh
2Stars
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

Send transactional and marketing emails via Mailtarget API.

Description

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

INPUT

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

AGENT
  1. 1

    Retrieve MAILTARGET_API_KEY from environment

  2. 2

    POST to /v1/layang/transmissions with recipient, sender, templateId, and substitutionData

  3. 3

    Confirm response contains transmissionId

OUTPUT

Email queued successfully with transmissionId returned from Mailtarget API

Requirements

  • MAILTARGET_API_KEY environment variable
  • Mailtarget account at mailtarget.co

Installation

clawhub install masasdani/mailtarget-email

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links