npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@3xweb/strapi-provider-email-resend

v1.2.1

Published

Resend email provider for Strapi v5

Downloads

365

Readme

Resend Email Provider for Strapi v5

npm version License: MIT

A lightweight email provider for Strapi v5 powered by the official Resend SDK.

Features

  • Compatible with Strapi v5
  • Uses the official Resend SDK
  • Supports HTML and plain text emails
  • Supports Resend Templates
  • Supports CC, BCC and Reply-To
  • Passes through additional Resend options
  • No build step required
  • Node.js 18+

Requirements

  • Node.js 18 or later
  • Strapi v5
  • A Resend account and API key

Installation

npm install @3xweb/strapi-provider-email-resend

Configuration

Create or update config/plugins.ts:

export default ({ env }) => ({
  email: {
    config: {
      provider: "@3xweb/strapi-provider-email-resend",

      providerOptions: {
        apiKey: env("RESEND_API_KEY"),
      },

      settings: {
        defaultFrom: env("EMAIL_FROM"),
        defaultReplyTo: env("EMAIL_REPLY_TO"),
      },
    },
  },
});

Environment Variables

RESEND_API_KEY=re_xxxxxxxxxxxxxxxxx

EMAIL_FROM=My App <[email protected]>
[email protected]

Usage

HTML email

await strapi.plugins.email.services.email.send({
  to: "[email protected]",
  subject: "Welcome",
  html: "<h1>Hello!</h1><p>Your account has been created.</p>",
});

Plain text email

await strapi.plugins.email.services.email.send({
  to: "[email protected]",
  subject: "Welcome",
  text: "Hello! Your account has been created.",
});

Resend Template

await strapi.plugins.email.services.email.send({
  to: "[email protected]",
  subject: "Welcome",
  template: {
    id: "welcome-email",
    variables: {
      name: "Douglas",
      loginUrl: "https://example.com/login",
    },
  },
});

When using template, the provider sends only the template payload to Resend and does not include html or text.

Supported Fields

| Field | Description | | -------- | ----------------------------- | | from | Email sender | | to | Recipient or recipients | | cc | Carbon copy recipients | | bcc | Blind carbon copy recipients | | replyTo | Reply-to address | | subject | Email subject | | text | Plain text content | | html | HTML content | | template | Resend Template configuration |

Any additional properties provided by Strapi are forwarded directly to the Resend SDK.

Default Behavior

If from is not provided, the provider uses settings.defaultFrom.

If replyTo is not provided, the provider uses settings.defaultReplyTo.

A single Resend client instance is created during Strapi startup and reused for all email requests.

Errors returned by the Resend API are propagated to Strapi, allowing normal logging and error handling.

Notes

This provider supports both standard Strapi email templates and Resend Templates.

For Strapi built-in emails, such as password reset and email confirmation, Strapi usually generates the html or text content internally and sends it through the configured email provider.

Resend Templates are useful for custom application emails where you want the template content to live inside Resend.

License

MIT

Notes

Originally based on the strapi-provider-email-resend project by Jerod Fritz, updated for Strapi v5 and the latest Resend SDK.