Skip to content
Skillv1.0.0

plunk

Send transactional and marketing emails with Plunk. Use when a user asks to send emails from an app, set up email automation, create drip campaigns, or use a simple open-source email platform.

by terminalskills(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from terminalskills/skills (skills/plunk/SKILL.md). Install upstream with npx skills add terminalskills/skills --skill plunk. Copyright stays with the author (Apache-2.0).

Plunk

Overview

Plunk is an open-source email platform for transactional emails (welcome, password reset, receipts) and marketing campaigns (newsletters, drip sequences). Self-hostable or use the cloud version. Simple API, React email templates.

Instructions

Step 1: Send Transactional Email

// lib/email.ts — Send emails via Plunk API
const PLUNK_API_KEY = process.env.PLUNK_API_KEY!

export async function sendEmail(to: string, subject: string, body: string) {
  await fetch('https://api.useplunk.com/v1/send', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      Authorization: `Bearer ${PLUNK_API_KEY}`,
    },
    body: JSON.stringify({ to, subject, body }),
  })
}

// Usage
await sendEmail('user@example.com', 'Welcome!', '<h1>Welcome to our app</h1>')

Step 2: Track Events (for Automations)

// Track user events to trigger automated emails
await fetch('https://api.useplunk.com/v1/track', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    Authorization: `Bearer ${PLUNK_API_KEY}`,
  },
  body: JSON.stringify({
    event: 'user-signed-up',
    email: 'user@example.com',
    data: { name: 'John', plan: 'free' },
  }),
})
// Configure automation in Plunk dashboard:
// When "user-signed-up" → send welcome email → wait 3 days → send onboarding tips

Guidelines

  • Free tier: 100 emails/month. Self-hosted: unlimited.
  • Use events + automations for drip campaigns instead of manual sends.
  • For higher volume, consider Resend or SendGrid.
  • Self-host with Docker for full control and unlimited emails.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/terminalskills-skills-plunk/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

terminalskills-skills-plunk.ocm.jsonjson
{
  "ocm": "1",
  "id": "terminalskills-skills-plunk",
  "kind": "skill",
  "name": "plunk",
  "description": "Send transactional and marketing emails with Plunk. Use when a user asks to send emails from an app, set up email automation, create drip campaigns, or use a simple open-source email platform.",
  "publisher": "terminalskills",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "plunk",
      "email",
      "transactional",
      "marketing",
      "automation",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Send transactional and marketing emails with Plunk. Use when a user asks to send emails from an app, set up email automation, create drip campaigns, or use a simple open-source email platform."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/terminalskills/skills",
      "path": "skills/plunk/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/terminalskills/skills/blob/HEAD/skills/plunk/SKILL.md",
      "key": "terminalskills/skills/skills/plunk/SKILL.md"
    },
    "compatibility": "Any platform via REST API",
    "license": "Apache-2.0"
  },
  "instructions": "# Plunk\n\n## Overview\n\nPlunk is an open-source email platform for transactional emails (welcome, password reset, receipts) and marketing campaigns (newsletters, drip sequences). Self-hostable or use the cloud version. Simple API, React email templates.\n\n## Instructions\n\n### Step 1: Send Transactional Email\n\n```typescript\n// lib/email.ts — Send emails via Plunk API\nconst PLUNK_API_KEY = process.env.PLUNK_API_KEY!\n\nexport async function sendEmail(to: string, subject: string, body: string) {\n  await fetch('https://api.useplunk.com/v1/send', {\n    method: 'POST',\n    headers: {\n      'Content-Type'",
  "cost": {
    "context_tokens": 407
  }
}

Fetch it by URL: GET /api/v1/registry/terminalskills-skills-plunk/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.