Skip to content
unproductsPublic

About

Unified email API for sending transactional emails across various providers and support for custom drivers.

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Repository files navigation

@unproducts/unmail

npm version npm downloads

Unified email API for sending transactional emails across 10+ providers. You can write your own drivers too.

✅ Built-in drivers for major providers.
✅ Shipped with built in server for microservice requirements.
✅ Built in testing drivers to mock mail sending in unit tests and local development.
✅ Comprehensive support for writing custom drivers.
✅ Support for raw SMTP (via Node Mailer)

Supported Drivers Checklist

Name Status
Mailchimp ✅
Mailersend ✅
Resend ✅
Sendgrid ✅
Mailjet ✅
Postmark ✅
Listmonk
Sendinblue

Usage

Install package:

# ✨ Auto-detect
npx nypm install @unproducts/unmail

# npm
npm install @unproducts/unmail

# yarn
yarn add @unproducts/unmail

# pnpm
pnpm install @unproducts/unmail

# bun
bun install @unproducts/unmail

# deno
deno install @unproducts/unmail

Import:

ESM (Node.js, Bun)

import { createUnmail } from '@unproducts/unmail';

CommonJS (Legacy Node.js)

const { createUnmail } = require('@unproducts/unmail');

Development

local development
  • Clone this repository
  • Install latest LTS version of Node.js
  • Install dependencies using yarn install
  • Run interactive tests using yarn dev

License

Published under the MIT license. Made by community 💛


🤖 auto updated with automd

About

Unified email API for sending transactional emails across various providers and support for custom drivers.

Topics

Resources

Stars

14 stars

Watchers

0 watching

Forks

Used by

Contributors

Languages