{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mailtarget-email",
    "name": "Mailtarget Email",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/masasdani/mailtarget-email",
    "canonicalUrl": "https://clawhub.ai/masasdani/mailtarget-email",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/mailtarget-email",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mailtarget-email",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/api.md",
      "references/getting-started.html",
      "references/getting-started.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mailtarget-email"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/mailtarget-email",
    "agentPageUrl": "https://openagent3.xyz/skills/mailtarget-email/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mailtarget-email/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mailtarget-email/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Mailtarget Email",
        "body": "Send emails and manage email infrastructure via the Mailtarget API."
      },
      {
        "title": "Setup",
        "body": "Set the MAILTARGET_API_KEY environment variable with your Mailtarget API key.\n\nGet your API key from the Mailtarget dashboard → Settings → API Keys."
      },
      {
        "title": "Sending Email",
        "body": "Use curl or any HTTP client. All requests go to https://transmission.mailtarget.co/v1 with Authorization: Bearer $MAILTARGET_API_KEY."
      },
      {
        "title": "Simple send",
        "body": "curl -X POST https://transmission.mailtarget.co/v1/layang/transmissions \\\n  -H \"Authorization: Bearer $MAILTARGET_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"to\": [{\"email\": \"recipient@example.com\", \"name\": \"Recipient\"}],\n    \"from\": {\"email\": \"noreply@yourdomain.com\", \"name\": \"Your App\"},\n    \"subject\": \"Hello from Mailtarget\",\n    \"bodyHtml\": \"<h1>Hello!</h1><p>This is a test email.</p>\",\n    \"bodyText\": \"Hello! This is a test email.\"\n  }'\n\nA successful response returns {\"message\": \"Transmission received\", \"transmissionId\": \"...\"}."
      },
      {
        "title": "Template-based send",
        "body": "Use templateId with substitutionData instead of bodyHtml/bodyText:\n\n{\n  \"to\": [{\"email\": \"user@example.com\", \"name\": \"User\"}],\n  \"from\": {\"email\": \"noreply@yourdomain.com\", \"name\": \"Your App\"},\n  \"subject\": \"Welcome, {{name}}!\",\n  \"templateId\": \"welcome-template\",\n  \"substitutionData\": {\"name\": \"User\", \"company\": \"Acme\"}\n}"
      },
      {
        "title": "Tracking options",
        "body": "Control click and open tracking per transmission:\n\n{\n  \"optionsAttributes\": {\n    \"clickTracking\": true,\n    \"openTracking\": true,\n    \"transactional\": true\n  }\n}\n\nSet transactional: true for transactional emails (password resets, receipts) to bypass unsubscribe preferences."
      },
      {
        "title": "Attachments",
        "body": "Include base64-encoded attachments:\n\n{\n  \"attachments\": [{\n    \"filename\": \"report.pdf\",\n    \"mimeType\": \"application/pdf\",\n    \"value\": \"<base64-encoded-content>\"\n  }]\n}"
      },
      {
        "title": "Managing Templates",
        "body": "List: GET /template?page=1&size=10&search=keyword\nCreate: POST /template with {\"id\": \"slug\", \"name\": \"Display Name\", \"html\": \"<html>...\"}"
      },
      {
        "title": "Managing Sending Domains",
        "body": "List: GET /domain/sending\nCreate: POST /domain/sending with {\"domain\": \"example.com\"}\nVerify: PUT /domain/sending/{id}/verify-txt\nCheck SPF: GET /domain/sending/{id}/spf-suggestion"
      },
      {
        "title": "Autonomous Domain Setup (with cloudflare-dns skill)",
        "body": "When paired with the cloudflare-dns skill, the agent can set up a sending domain end-to-end with zero manual DNS editing:\n\nCreate sending domain: POST /domain/sending with {\"domain\": \"example.com\"}\nRead required DNS records from the response: spfHostname, spfValue, dkimHostname, dkimValue, cnameHostname, cnameValue\nAdd SPF TXT record in Cloudflare using spfHostname and spfValue\nAdd DKIM TXT record in Cloudflare using dkimHostname and dkimValue\nAdd CNAME record in Cloudflare using cnameHostname and cnameValue (set proxied: false)\nVerify domain: PUT /domain/sending/{id}/verify-txt\nConfirm status via GET /domain/sending/{id} — check spfVerified, dkimVerified, cnameVerified\n\nInstall the companion skill: clawhub install cloudflare-dns"
      },
      {
        "title": "Getting Started",
        "body": "New to Mailtarget + OpenClaw? See references/getting-started.md for a 5-minute setup guide."
      },
      {
        "title": "Full API Reference",
        "body": "See references/api.md for complete endpoint documentation including API key management, sub-accounts, and permissions."
      }
    ],
    "body": "Mailtarget Email\n\nSend emails and manage email infrastructure via the Mailtarget API.\n\nSetup\n\nSet the MAILTARGET_API_KEY environment variable with your Mailtarget API key.\n\nGet your API key from the Mailtarget dashboard → Settings → API Keys.\n\nSending Email\n\nUse curl or any HTTP client. All requests go to https://transmission.mailtarget.co/v1 with Authorization: Bearer $MAILTARGET_API_KEY.\n\nSimple send\ncurl -X POST https://transmission.mailtarget.co/v1/layang/transmissions \\\n  -H \"Authorization: Bearer $MAILTARGET_API_KEY\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"to\": [{\"email\": \"recipient@example.com\", \"name\": \"Recipient\"}],\n    \"from\": {\"email\": \"noreply@yourdomain.com\", \"name\": \"Your App\"},\n    \"subject\": \"Hello from Mailtarget\",\n    \"bodyHtml\": \"<h1>Hello!</h1><p>This is a test email.</p>\",\n    \"bodyText\": \"Hello! This is a test email.\"\n  }'\n\n\nA successful response returns {\"message\": \"Transmission received\", \"transmissionId\": \"...\"}.\n\nTemplate-based send\n\nUse templateId with substitutionData instead of bodyHtml/bodyText:\n\n{\n  \"to\": [{\"email\": \"user@example.com\", \"name\": \"User\"}],\n  \"from\": {\"email\": \"noreply@yourdomain.com\", \"name\": \"Your App\"},\n  \"subject\": \"Welcome, {{name}}!\",\n  \"templateId\": \"welcome-template\",\n  \"substitutionData\": {\"name\": \"User\", \"company\": \"Acme\"}\n}\n\nTracking options\n\nControl click and open tracking per transmission:\n\n{\n  \"optionsAttributes\": {\n    \"clickTracking\": true,\n    \"openTracking\": true,\n    \"transactional\": true\n  }\n}\n\n\nSet transactional: true for transactional emails (password resets, receipts) to bypass unsubscribe preferences.\n\nAttachments\n\nInclude base64-encoded attachments:\n\n{\n  \"attachments\": [{\n    \"filename\": \"report.pdf\",\n    \"mimeType\": \"application/pdf\",\n    \"value\": \"<base64-encoded-content>\"\n  }]\n}\n\nManaging Templates\nList: GET /template?page=1&size=10&search=keyword\nCreate: POST /template with {\"id\": \"slug\", \"name\": \"Display Name\", \"html\": \"<html>...\"}\nManaging Sending Domains\nList: GET /domain/sending\nCreate: POST /domain/sending with {\"domain\": \"example.com\"}\nVerify: PUT /domain/sending/{id}/verify-txt\nCheck SPF: GET /domain/sending/{id}/spf-suggestion\nAutonomous Domain Setup (with cloudflare-dns skill)\n\nWhen paired with the cloudflare-dns skill, the agent can set up a sending domain end-to-end with zero manual DNS editing:\n\nCreate sending domain: POST /domain/sending with {\"domain\": \"example.com\"}\nRead required DNS records from the response: spfHostname, spfValue, dkimHostname, dkimValue, cnameHostname, cnameValue\nAdd SPF TXT record in Cloudflare using spfHostname and spfValue\nAdd DKIM TXT record in Cloudflare using dkimHostname and dkimValue\nAdd CNAME record in Cloudflare using cnameHostname and cnameValue (set proxied: false)\nVerify domain: PUT /domain/sending/{id}/verify-txt\nConfirm status via GET /domain/sending/{id} — check spfVerified, dkimVerified, cnameVerified\n\nInstall the companion skill: clawhub install cloudflare-dns\n\nGetting Started\n\nNew to Mailtarget + OpenClaw? See references/getting-started.md for a 5-minute setup guide.\n\nFull API Reference\n\nSee references/api.md for complete endpoint documentation including API key management, sub-accounts, and permissions."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/masasdani/mailtarget-email",
    "publisherUrl": "https://clawhub.ai/masasdani/mailtarget-email",
    "owner": "masasdani",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mailtarget-email",
    "downloadUrl": "https://openagent3.xyz/downloads/mailtarget-email",
    "agentUrl": "https://openagent3.xyz/skills/mailtarget-email/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mailtarget-email/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mailtarget-email/agent.md"
  }
}