Provides an email adapter for Payload that delivers messages through the REST API of useSend, an open-source and self-hostable email platform. It is set in the email option of the Payload config with an API key, base URL and default sender details. It supports Payload 3 and 4 beta.
PayloadCMS adapter for sending emails via the useSend API (previously Unsend).
Installation
npm i @rubixstudios/payload-usesend8
Stars
0
Forks
0
Open Issues
Today
Last Updated
618
Weekly Downloads
v1.7.0
npm Version
58.6 KB
Unpacked Size
0
Dependencies
80 since Sep 6
| Date | Stars |
|---|---|
| Dec 5, 2026 | 8 |
| Dec 4, 2026 | 8 |
| Dec 3, 2026 | 8 |
| Dec 2, 2026 | 8 |
| Dec 1, 2026 | 8 |
| Nov 30, 2026 | 8 |
| Nov 29, 2026 | 8 |
| Nov 28, 2026 | 8 |
| Nov 27, 2026 | 8 |
| Nov 26, 2026 | 8 |
| Nov 25, 2026 | 8 |
| Nov 24, 2026 | 8 |
| Nov 23, 2026 | 8 |
| Nov 22, 2026 | 8 |
| Nov 21, 2026 | 8 |
| Nov 20, 2026 | 8 |
| Nov 19, 2026 | 8 |
| Nov 18, 2026 | 8 |
| Nov 17, 2026 | 8 |
| Nov 16, 2026 | 8 |
| Nov 15, 2026 | 8 |
| Nov 14, 2026 | 8 |
| Nov 13, 2026 | 8 |
| Nov 12, 2026 | 8 |
| Nov 11, 2026 | 8 |
| Nov 10, 2026 | 8 |
| Nov 9, 2026 | 8 |
| Nov 8, 2026 | 8 |
| Nov 7, 2026 | 8 |
| Nov 6, 2026 | 8 |
| Nov 5, 2026 | 8 |
| Nov 4, 2026 | 8 |
| Nov 3, 2026 | 8 |
| Nov 2, 2026 | 8 |
| Nov 1, 2026 | 8 |
| Oct 31, 2026 | 8 |
| Oct 30, 2026 | 8 |
| Oct 29, 2026 | 8 |
| Oct 28, 2026 | 8 |
| Oct 27, 2026 | 8 |
| Oct 26, 2026 | 8 |
| Oct 25, 2026 | 8 |
| Oct 24, 2026 | 8 |
| Oct 23, 2026 | 8 |
| Oct 22, 2026 | 8 |
| Oct 21, 2026 | 8 |
| Oct 20, 2026 | 8 |
| Oct 19, 2026 | 8 |
| Oct 18, 2026 | 8 |
| Oct 17, 2026 | 8 |
| Oct 16, 2026 | 8 |
| Oct 15, 2026 | 8 |
| Oct 14, 2026 | 8 |
| Oct 13, 2026 | 8 |
| Oct 12, 2026 | 8 |
| Oct 11, 2026 | 8 |
| Oct 10, 2026 | 8 |
| Oct 9, 2026 | 8 |
| Oct 8, 2026 | 8 |
| Oct 7, 2026 | 8 |
| Oct 6, 2026 | 8 |
| Oct 5, 2026 | 8 |
| Oct 4, 2026 | 8 |
| Oct 3, 2026 | 8 |
| Oct 2, 2026 | 8 |
| Oct 1, 2026 | 8 |
| Sep 30, 2026 | 8 |
| Sep 29, 2026 | 8 |
| Sep 28, 2026 | 8 |
| Sep 27, 2026 | 8 |
| Sep 26, 2026 | 8 |
| Sep 25, 2026 | 8 |
| Sep 24, 2026 | 8 |
| Sep 23, 2026 | 8 |
| Sep 22, 2026 | 8 |
| Sep 21, 2026 | 8 |
| Sep 20, 2026 | 8 |
| Sep 19, 2026 | 8 |
| Sep 18, 2026 | 8 |
| Sep 17, 2026 | 8 |
| Sep 16, 2026 | 8 |
| Sep 15, 2026 | 8 |
| Sep 14, 2026 | 8 |
| Sep 13, 2026 | 8 |
| Sep 12, 2026 | 8 |
| Sep 11, 2026 | 8 |
| Sep 10, 2026 | 8 |
| Sep 9, 2026 | 8 |
| Sep 8, 2026 | 8 |
| Sep 7, 2026 | 8 |
| Sep 6, 2026 | 8 |
635+356 since Sep 6
| Date | Weekly downloads |
|---|---|
| Dec 5, 2026 | 635 |
| Dec 4, 2026 | 603 |
| Dec 3, 2026 | 509 |
| Dec 2, 2026 | 499 |
| Dec 1, 2026 | 584 |
| Nov 30, 2026 | 790 |
| Nov 29, 2026 | 839 |
| Nov 28, 2026 | 845 |
| Nov 27, 2026 | 864 |
| Nov 26, 2026 | 745 |
| Nov 25, 2026 | 743 |
| Nov 24, 2026 | 731 |
| Nov 23, 2026 | 671 |
| Nov 22, 2026 | 652 |
| Nov 21, 2026 | 753 |
| Nov 20, 2026 | 874 |
| Nov 19, 2026 | 870 |
| Nov 18, 2026 | 912 |
| Nov 17, 2026 | 837 |
| Nov 16, 2026 | 707 |
| Nov 15, 2026 | 647 |
| Nov 14, 2026 | 520 |
| Nov 13, 2026 | 501 |
| Nov 12, 2026 | 455 |
| Nov 11, 2026 | 443 |
| Nov 10, 2026 | 613 |
| Nov 9, 2026 | 662 |
| Nov 8, 2026 | 633 |
| Nov 7, 2026 | 582 |
| Nov 6, 2026 | 451 |
| Nov 5, 2026 | 463 |
| Nov 4, 2026 | 427 |
| Nov 3, 2026 | 311 |
| Nov 2, 2026 | 484 |
| Nov 1, 2026 | 719 |
| Oct 31, 2026 | 730 |
| Oct 30, 2026 | 825 |
| Oct 29, 2026 | 787 |
| Oct 28, 2026 | 755 |
| Oct 27, 2026 | 751 |
| Oct 26, 2026 | 569 |
| Oct 25, 2026 | 582 |
| Oct 24, 2026 | 581 |
| Oct 23, 2026 | 456 |
| Oct 22, 2026 | 482 |
| Oct 21, 2026 | 551 |
| Oct 20, 2026 | 835 |
| Oct 19, 2026 | 791 |
| Oct 18, 2026 | 717 |
| Oct 17, 2026 | 735 |
| Oct 16, 2026 | 779 |
| Oct 15, 2026 | 764 |
| Oct 14, 2026 | 838 |
| Oct 13, 2026 | 609 |
| Oct 12, 2026 | 577 |
| Oct 11, 2026 | 370 |
| Oct 10, 2026 | 367 |
| Oct 9, 2026 | 327 |
| Oct 8, 2026 | 319 |
| Oct 7, 2026 | 220 |
| Oct 6, 2026 | 111 |
| Oct 5, 2026 | 115 |
| Oct 4, 2026 | 117 |
| Oct 3, 2026 | 138 |
| Oct 2, 2026 | 144 |
| Oct 1, 2026 | 173 |
| Sep 30, 2026 | 176 |
| Sep 29, 2026 | 203 |
| Sep 28, 2026 | 210 |
| Sep 27, 2026 | 382 |
| Sep 26, 2026 | 384 |
| Sep 25, 2026 | 379 |
| Sep 24, 2026 | 363 |
| Sep 23, 2026 | 327 |
| Sep 22, 2026 | 327 |
| Sep 21, 2026 | 382 |
| Sep 20, 2026 | 233 |
| Sep 19, 2026 | 191 |
| Sep 18, 2026 | 209 |
| Sep 17, 2026 | 216 |
| Sep 16, 2026 | 215 |
| Sep 15, 2026 | 233 |
| Sep 14, 2026 | 164 |
| Sep 13, 2026 | 137 |
| Sep 12, 2026 | 339 |
| Sep 11, 2026 | 348 |
| Sep 10, 2026 | 342 |
| Sep 9, 2026 | 337 |
| Sep 8, 2026 | 282 |
| Sep 7, 2026 | 278 |
| Sep 6, 2026 | 279 |
Each point is npm's rolling 7-day download count.
Health Score
Composite score based on GitHub activity, stars, npm downloads, publish recency, dependency count, and package size.
Badge for your README
[](https://payloaddirectory.dev/plugins/1053175524-root)<a href="https://payloaddirectory.dev/plugins/1053175524-root"><img src="https://payloaddirectory.dev/badge/1053175524-root.svg" alt="Payload Directory"></a>README
useSend is an API-first email delivery platform built for transactional and marketing email workflows. It adopts an architectural model comparable to Resend while remaining fully open source and self-hostable. This combination enables teams to standardise email delivery without surrendering control over infrastructure, deployment topology, or data locality.
The platform exposes a REST-based interface for email delivery and supports provider-native capabilities such as templates, dynamic variables, and scheduled sends. By abstracting the underlying delivery infrastructure, useSend simplifies application integration while allowing organisations to retain operational and regulatory control.
This adapter integrates PayloadCMS with the useSend REST API for transactional and marketing emails.
See the full documentation for comprehensive guides, features, comparisons, and configuration examples.
pnpm add @rubixstudios/payload-usesend
// payload.config.js
import { sendAdapter } from '@rubixstudios/payload-usesend'
export default buildConfig({
email: sendAdapter({
apiKey: process.env.USESEND_API_KEY!,
defaultFromAddress: '[email protected]',
defaultFromName: 'Rubix Studios',
useSendUrl: process.env.USESEND_URL!,
// Optional
// idempotencyKey: () => crypto.randomUUID(),
// maxAttachmentBytes: 10 * 1024 * 1024,
// scheduledAt: '2025-08-01T10:00:00Z',
// templateId: 'template-uuid',
// variables: { firstName: 'Vincent' },
}),
})
Custom email headers are set on the email message itself and are forwarded to useSend as the headers object:
await payload.sendEmail({
to: '[email protected]',
from: 'Rubix Studios <[email protected]>',
subject: 'Welcome',
html: '<p>Hello</p>',
headers: {
'List-Unsubscribe': '<https://example.com/unsubscribe>',
'List-Unsubscribe-Post': 'List-Unsubscribe=One-Click',
},
})
| Option | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey | string | Yes | - | useSend API key |
useSendUrl | string | Yes | - | useSend base URL |
defaultFromAddress | string | Yes | - | Default sender email |
defaultFromName | string | Yes | - | Default sender name |
idempotencyKey | string | function | No | Auto | Unique key per logical send |
maxAttachmentBytes | number | No | - | Total decoded attachment size limit |
scheduledAt | string | No | - | ISO 8601 scheduled delivery date |
templateId | string | No | - | Email template ID |
variables | object | No | - | Email template variables |
This project is licensed under the MIT License - see the LICENSE file for details.
For support or inquiries:
Rubix Studios
https://rubixstudios.com.au
Topics
plugin emails
Transactional emails defined in code, with copy editors can change, preview and test-send from the admin.
7029/wk10v3
payload mailing
Template-based email with layouts, scheduling and job-queue delivery through Payload collections
68290/wk1v3
groundmail payload
Payload email adapter that sends mail through the Groundmail HTTP API
78405/wk0v?
payload order emails
Transactional emails on Payload order creation and status changes, with overridable templates
7333/wk1v3
eusend payload
Payload email adapter that sends transactional email through the eusend REST API from the EU
72230/wk1v3 v4
payload email ahasend
Email adapter that sends Payload CMS emails through the AhaSend API, with support for API v1 and v2
3927/wk1v3