Command Palette

Search for a command to run...

Назад к скиллам
скилл № 62612

SendPulse Transactional Email (SMTP)

Send transactional and bulk emails through SendPulse SMTP — via REST API or classic SMTP relay. Use this skill whenever the user wants to send email…

БесплатноБез исполняемых скриптов
ymaievska-langот ymaievska-lang333 установки в других каталогах

Установить SendPulse Transactional Email (SMTP) в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

SendPulse SMTP Skill

You are helping a user send emails through SendPulse SMTP — a service for transactional and bulk email delivery. This file is the core playbook; detailed material lives in references/ and examples/. Load a reference file only when the task needs it.

Step 0 — Route the user to the right product

SendPulse has two email products that beginners constantly confuse. Ask what they are sending, then route:

User goal Product Where
Order confirmations, password resets, notifications, invoices — one email per event, triggered by their app SMTP this skill
Newsletters, promo campaigns to a subscriber list, A/B tests, campaign statistics Email Service (bulk) the sendpulse-email-skill if installed (address books, segments, campaigns, analytics); overview fallback: references/email-service-api.md
Building the HTML of the email itself — the sendpulse-template-skill if installed, or any HTML email guide

Within SMTP there are two transport options:

  • REST API (POST https://api.sendpulse.com/smtp/emails) — recommended default. Structured JSON, message IDs for tracking, list management endpoints. → references/api-reference.md
  • SMTP relay (smtp-pulse.com:465, SSL) — when the user has an existing app, CMS, plugin, or mail client that only speaks SMTP protocol (PHPMailer, nodemailer, WordPress, CRM integrations). → references/smtp-relay.md

Step 1 — Verify the prerequisites (most failures start here)

Before writing any code, confirm these with the user. The API will not send a single email until all four are true:

  1. SMTP account is activated. SendPulse moderates every SMTP account: the user must fill out a sender profile (what they send, how they collect addresses, how people unsubscribe) in SMTP → Settings. Moderation usually takes up to 24 hours. Symptom of a non-activated account: authorization works but sending fails.
  2. Sender email is verified and it is on a corporate domain. Free mailbox domains (gmail.com, outlook.com, mail.ru, yahoo.com, …) are rejected as senders.
  3. SPF and DKIM records are added to the sender domain's DNS. The exact values are shown in the SendPulse dashboard (SMTP → Settings). Without them mail is sent but lands in spam.
  4. API credentials exist: an API key (or OAuth ID/Secret) from Settings → API (for REST), or the SMTP login/password from SMTP → Settings → General (for relay).

Full setup walkthrough: references/setup.md.

Step 2 — Authorize (REST API)

Two options; prefer the Single API Key — it's simpler and needs no refresh logic:

  • Single API Key (preferred) — a long-lived Bearer token generated manually in Settings → API → API keys (up to 5 independent keys; revocable). Just send Authorization: Bearer <API_KEY> on every request — no token call at all.
  • OAuth client credentials (alternative) — when short-lived tokens are required:
POST https://api.sendpulse.com/oauth/access_token
Content-Type: application/json

{"grant_type": "client_credentials", "client_id": "<ID>", "client_secret": "<Secret>"}

Response contains access_token (Bearer, valid 1 hour). Cache it and refresh on HTTP 401 — do not request a new token per email.

Never hardcode keys or client_id/client_secret in code you generate — read them from environment variables or a secrets manager.

SendPulse MCP server (https://mcp.sendpulse.com/mcp): for interactive account work from an AI chat (checking senders, stats, the unsubscribe list) the user can connect the hosted MCP server instead of writing one-off scripts. It does NOT replace the API/relay integration inside the user's application — see references/sendpulse-mcp.md for what it's good for and the setup.

Step 3 — Send

Minimal working request (see references/quickstart.md for a copy-paste version):

POST https://api.sendpulse.com/smtp/emails
Authorization: Bearer <token>
Content-Type: application/json

{
  "email": {
    "subject": "Your order #1234 is confirmed",
    "from": {"name": "My Shop", "email": "[email protected]"},
    "to": [{"name": "Jane", "email": "[email protected]"}],
    "html": "<BASE64-ENCODED HTML>",
    "text": "Plain-text version of the message"
  }
}

Critical rules — violating any of these is the #1 source of bugs

  • html must be Base64-encoded. Raw HTML in this field fails or garbles the message.
  • Always include a text version alongside html — it improves deliverability.
  • from.email must be a verified sender in the account, on a corporate domain.
  • to is an array of objects, even for one recipient: [{"email": "..."}].
  • Success response is {"result": true, "id": "<message-id>"} — store the id; it is the key for status lookup (GET /smtp/emails/{id}).
  • Attachments: attachments (plain-text content) or attachments_binary (Base64-encoded) — an
Полный SKILL.md на ClawHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл SendPulse Transactional Email (SMTP)?

Send transactional and bulk emails through SendPulse SMTP — via REST API or classic SMTP relay. Use this skill whenever the user wants to send email programmatically with SendPulse: "send email via SendPulse", "SendPulse SMTP API", "transactional email", "connect PHPMailer / nodemailer / smtplib to SendPulse", "why is my SendPulse email not delivered", "handle bounces / unsubscribes", "set up SPF/DKIM for SendPulse", "SendPulse webhooks". Covers OAuth authorization, sending endpoints, sender/domain setup, error troubleshooting, deliverability best practices, and the difference between SMTP (transactional) and Email Service (marketing campaigns).

Как установить скилл SendPulse Transactional Email (SMTP)?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл SendPulse Transactional Email (SMTP) запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить SendPulse Transactional Email (SMTP) с