Skip to content
You're viewing documentation for v0.6.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Plunk

Configure the Plunk send API adapter.

Plunk logo
Plunk@opencoredev/email-sdk/plunk
Provider docs

Plunk is a product-led email adapter for event-style sends. It supports reply-to, headers, metadata, and attachments, but not CC, BCC, or tags.

Before live sends

Create a Plunk API key and verify the sender setup for your workspace. Check your message shape before using Plunk as a fallback because CC, BCC, and tags are rejected locally.

Configure

Send

Plunk maps metadata to data and replyTo to reply. It rejects CC, BCC, and tags before the API call.

Send with an attachment

Options

Option Type Required Notes
apiKey string Yes Plunk API key.
baseUrl string No Defaults to https://next-api.useplunk.com.
fetch typeof fetch No Useful for tests or custom runtimes.

Plunk maps metadata to data, replyTo to reply, custom headers to headers, attachments to attachments, and the first returned data.emails[].email value to the SDK response ID. Unsupported fields throw before the API call.

Response

The adapter first reads the first data.emails[].email value, then falls back to body id or emailId.

CLI smoke test

Last updated on