{"_id":"@3xweb/strapi-provider-email-resend","_rev":"3-303114deca4b7aedb61b91820fc2bc58","name":"@3xweb/strapi-provider-email-resend","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.0":{"name":"@3xweb/strapi-provider-email-resend","version":"1.0.0","keywords":["strapi","strapi-provider","email","resend"],"author":{"name":"3xweb"},"license":"MIT","_id":"@3xweb/strapi-provider-email-resend@1.0.0","maintainers":[{"name":"everbero-3x","email":"info@3xweb.site"}],"homepage":"https://github.com/3xweb/strapi-provider-email-resend#readme","bugs":{"url":"https://github.com/3xweb/strapi-provider-email-resend/issues"},"dist":{"shasum":"c248794b0f7ab0e2446bee713093721787a33a0f","tarball":"https://registry.npmjs.org/@3xweb/strapi-provider-email-resend/-/strapi-provider-email-resend-1.0.0.tgz","fileCount":4,"integrity":"sha512-RWlcp5SrFcODvZpO590tSFWGr/D/jpU/SSBCeQ3/Gk0mSSjLhXSLoA8OHUdE+WYo18c6RdDDo85l1hYt00RZYQ==","signatures":[{"sig":"MEQCIFx9MHDgHBXgvw4f3L8e2HQA0MG2zSRd8TyLcjFdoWT0AiBNikaRmUMo6+Key9iw6njVC+9jRCmiDc2bMWQwG0A4ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6662},"main":"./src/index.js","engines":{"node":">=18"},"gitHead":"162f0aa4dbca8eb76d0582cc80a9763246286f7f","_npmUser":{"name":"everbero-3x","email":"info@3xweb.site"},"repository":{"url":"git+https://github.com/3xweb/strapi-provider-email-resend.git","type":"git"},"_npmVersion":"10.9.8","description":"Resend email provider for Strapi v5","directories":{},"_nodeVersion":"22.22.3","dependencies":{"resend":"^6.12.4"},"_hasShrinkwrap":false,"peerDependencies":{"@strapi/strapi":"^5.0.0"},"peerDependenciesMeta":{"@strapi/strapi":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/strapi-provider-email-resend_1.0.0_1780327987636_0.1196642048714649","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@3xweb/strapi-provider-email-resend","version":"1.0.1","keywords":["strapi","strapi-provider","email","resend"],"author":{"name":"3xweb"},"license":"MIT","_id":"@3xweb/strapi-provider-email-resend@1.0.1","maintainers":[{"name":"everbero-3x","email":"info@3xweb.site"}],"homepage":"https://github.com/3xweb/strapi-provider-email-resend#readme","bugs":{"url":"https://github.com/3xweb/strapi-provider-email-resend/issues"},"dist":{"shasum":"842a24c86fea17ef33c4dbea42940448d3745a98","tarball":"https://registry.npmjs.org/@3xweb/strapi-provider-email-resend/-/strapi-provider-email-resend-1.0.1.tgz","fileCount":4,"integrity":"sha512-X3So/xAI8IZK4SNMug6AZKKD8IKDOFHv0mjTPINhi6uJQpU9SKBYeaY1UCQkfvLLX1RnHX4s1YCYb1GQHbdTmA==","signatures":[{"sig":"MEUCIEHBZNfQE7DpzOA6w6Q0qHGtVL2+qoFu/O16/x98v0PvAiEA9/cH0nIVNtl/djavy5R3mB40cicZ/CrnGZmMnG002vU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6662},"main":"./src/index.js","engines":{"node":">=18"},"gitHead":"977fe5dfa262dbdd81ae0b8c1eeda20a31249d18","_npmUser":{"name":"everbero-3x","email":"info@3xweb.site"},"repository":{"url":"git+https://github.com/3xweb/strapi-provider-email-resend.git","type":"git"},"_npmVersion":"10.9.8","description":"Resend email provider for Strapi v5","directories":{},"_nodeVersion":"22.22.3","dependencies":{"resend":"^6.12.4"},"_hasShrinkwrap":false,"peerDependencies":{"@strapi/strapi":"^5.0.0"},"peerDependenciesMeta":{"@strapi/strapi":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/strapi-provider-email-resend_1.0.1_1780329339462_0.8791063512045014","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@3xweb/strapi-provider-email-resend","version":"1.2.1","description":"Resend email provider for Strapi v5","main":"./src/index.js","keywords":["strapi","strapi-provider","email","resend"],"repository":{"type":"git","url":"git+https://github.com/3xweb/strapi-provider-email-resend.git"},"author":{"name":"3xweb"},"license":"MIT","homepage":"https://github.com/3xweb/strapi-provider-email-resend#readme","bugs":{"url":"https://github.com/3xweb/strapi-provider-email-resend/issues"},"engines":{"node":">=18"},"dependencies":{"resend":"^6.12.4"},"peerDependencies":{"@strapi/strapi":"^5.0.0"},"peerDependenciesMeta":{"@strapi/strapi":{"optional":true}},"gitHead":"1622347a2ebcbfd2f2a483a9d8a6f1c1ee2ecf81","_id":"@3xweb/strapi-provider-email-resend@1.2.1","_nodeVersion":"22.22.3","_npmVersion":"11.16.0","dist":{"integrity":"sha512-JUMziEIPONWgjMYvs533W+bj1YNpAB0MoCe5toiAif++FVQDfmsyH1huP3VUMqNc8btufFzQgexlpX6qcjLrHQ==","shasum":"5fd6826b3fc1a685a87eac08ad298bf65f6ffee7","tarball":"https://registry.npmjs.org/@3xweb/strapi-provider-email-resend/-/strapi-provider-email-resend-1.2.1.tgz","fileCount":4,"unpackedSize":8385,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCC7q3g8kTeBLvIIabcVLDhQ+WbchMQvV7ir4eGuwo6aAIgH7XTeKlSPl7DYms4CHIzMxu6Nx3LTQODWgLr4Y+ZXBc="}]},"_npmUser":{"name":"everbero-3x","email":"info@3xweb.site"},"directories":{},"maintainers":[{"name":"everbero-3x","email":"info@3xweb.site"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/strapi-provider-email-resend_1.2.1_1781115032364_0.3885836203726796"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-01T15:33:07.523Z","modified":"2026-06-10T18:10:32.692Z","1.0.0":"2026-06-01T15:33:07.831Z","1.0.1":"2026-06-01T15:55:39.604Z","1.2.1":"2026-06-10T18:10:32.554Z"},"bugs":{"url":"https://github.com/3xweb/strapi-provider-email-resend/issues"},"author":{"name":"3xweb"},"license":"MIT","homepage":"https://github.com/3xweb/strapi-provider-email-resend#readme","keywords":["strapi","strapi-provider","email","resend"],"repository":{"type":"git","url":"git+https://github.com/3xweb/strapi-provider-email-resend.git"},"description":"Resend email provider for Strapi v5","maintainers":[{"name":"everbero-3x","email":"info@3xweb.site"}],"readme":"# Resend Email Provider for Strapi v5\n\n[![npm version](https://img.shields.io/npm/v/@3xweb/strapi-provider-email-resend)](https://www.npmjs.com/package/@3xweb/strapi-provider-email-resend)\n[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n\nA lightweight email provider for Strapi v5 powered by the official Resend SDK.\n\n## Features\n\n* Compatible with Strapi v5\n* Uses the official Resend SDK\n* Supports HTML and plain text emails\n* Supports Resend Templates\n* Supports CC, BCC and Reply-To\n* Passes through additional Resend options\n* No build step required\n* Node.js 18+\n\n## Requirements\n\n* Node.js 18 or later\n* Strapi v5\n* A Resend account and API key\n\n## Installation\n\n```bash\nnpm install @3xweb/strapi-provider-email-resend\n```\n\n## Configuration\n\nCreate or update `config/plugins.ts`:\n\n```ts\nexport default ({ env }) => ({\n  email: {\n    config: {\n      provider: \"@3xweb/strapi-provider-email-resend\",\n\n      providerOptions: {\n        apiKey: env(\"RESEND_API_KEY\"),\n      },\n\n      settings: {\n        defaultFrom: env(\"EMAIL_FROM\"),\n        defaultReplyTo: env(\"EMAIL_REPLY_TO\"),\n      },\n    },\n  },\n});\n```\n\n## Environment Variables\n\n```env\nRESEND_API_KEY=re_xxxxxxxxxxxxxxxxx\n\nEMAIL_FROM=My App <noreply@example.com>\nEMAIL_REPLY_TO=support@example.com\n```\n\n## Usage\n\n### HTML email\n\n```js\nawait strapi.plugins.email.services.email.send({\n  to: \"user@example.com\",\n  subject: \"Welcome\",\n  html: \"<h1>Hello!</h1><p>Your account has been created.</p>\",\n});\n```\n\n### Plain text email\n\n```js\nawait strapi.plugins.email.services.email.send({\n  to: \"user@example.com\",\n  subject: \"Welcome\",\n  text: \"Hello! Your account has been created.\",\n});\n```\n\n### Resend Template\n\n```js\nawait strapi.plugins.email.services.email.send({\n  to: \"user@example.com\",\n  subject: \"Welcome\",\n  template: {\n    id: \"welcome-email\",\n    variables: {\n      name: \"Douglas\",\n      loginUrl: \"https://example.com/login\",\n    },\n  },\n});\n```\n\nWhen using `template`, the provider sends only the template payload to Resend and does not include `html` or `text`.\n\n## Supported Fields\n\n| Field    | Description                   |\n| -------- | ----------------------------- |\n| from     | Email sender                  |\n| to       | Recipient or recipients       |\n| cc       | Carbon copy recipients        |\n| bcc      | Blind carbon copy recipients  |\n| replyTo  | Reply-to address              |\n| subject  | Email subject                 |\n| text     | Plain text content            |\n| html     | HTML content                  |\n| template | Resend Template configuration |\n\nAny additional properties provided by Strapi are forwarded directly to the Resend SDK.\n\n## Default Behavior\n\nIf `from` is not provided, the provider uses `settings.defaultFrom`.\n\nIf `replyTo` is not provided, the provider uses `settings.defaultReplyTo`.\n\nA single Resend client instance is created during Strapi startup and reused for all email requests.\n\nErrors returned by the Resend API are propagated to Strapi, allowing normal logging and error handling.\n\n## Notes\n\nThis provider supports both standard Strapi email templates and Resend Templates.\n\nFor 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.\n\nResend Templates are useful for custom application emails where you want the template content to live inside Resend.\n\n## License\n\nMIT\n\n## Notes\nOriginally based on the strapi-provider-email-resend project by Jerod Fritz, updated for Strapi v5 and the latest Resend SDK.\n","readmeFilename":"README.md"}