Eusend Email Adapter
Routes Payload CMS outgoing email through the eusend REST API, an EU-native transactional provider that works on serverless.
Installation
pnpm add @eusend_dev/payload-email About
The eusend payload adapter routes all of Payload's outgoing email through the eusend REST API, an EU-native transactional email provider. Because it speaks HTTP rather than SMTP, it runs on serverless platforms where a long-lived SMTP socket is not an option. Once wired in, every message Payload sends (account verification, password reset, and anything you dispatch with `payload.sendEmail`) goes through eusend. You pass it to `buildConfig` under the `email` key. It needs an API key plus a verified default sender address and display name. Optional settings let you redirect all mail to a single address on staging, tag every send for log filtering and webhook delivery, and override open and click tracking per adapter. A `baseUrl` override exists for hitting a staging deployment. The adapter accepts nodemailer's attachment shapes, so a config ported from `@payloadcms/email-nodemailer` keeps working. Raw buffers, plain strings (read as UTF-8 unless you set `encoding` to `base64`), remote URLs the API fetches at send time, local file paths read from disk, and data URIs are all handled. It also normalizes nodemailer's mixed string and object address forms, maps both header layouts, and accepts string or Buffer bodies while refusing streams to avoid sending a blank message. A failed send throws Payload's `APIError` carrying the HTTP status and the eusend error code, so the failure surfaces in Payload's normal error handling rather than as a silent null. It is a transport only: it sends the HTML and text you give it and does not render templates server-side. Sender domains must be verified on the eusend account.
Package info
- Package name
@eusend_dev/payload-email- Latest version
0.1.0- Unpacked size
- 27 kB
- License
- MIT
- Last publish
- Sep 7, 2026
Similar plugins
More in EmailCloudflare Email Adapter
Sends transactional email through Cloudflare Email Service for Payload CMS.
Abandoned Cart
Marks idle Payload carts abandoned, sends a timed recovery email sequence, and attributes the orders that come back.
Order Emails
Sends a transactional email when a Payload order is created and on each status change, routed through your configured email adapter.
useSend Email Adapter
Integrates PayloadCMS with useSend for email delivery.
EasyEmail Pro
Build responsive email templates in Payload with a dedicated editor.
Ahasend Email Adapter
Integrates Ahasend email service with Payload CMS.