mailtarget-email
由 masasdani 提供
Web & Frontend Development简介
Send transactional and marketing emails via Mailtarget API.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: Send a welcome email to new@user.com using the welcome-template
- 1
Retrieve MAILTARGET_API_KEY from environment
- 2
POST to /v1/layang/transmissions with recipient, sender, templateId, and substitutionData
- 3
Confirm response contains transmissionId
Email queued successfully with transmissionId returned from Mailtarget API
前置要求
- MAILTARGET_API_KEY environment variable
- Mailtarget account at mailtarget.co
安装
clawhub install masasdani/mailtarget-email运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。