@unproducts/unmail
v0.3.2
Published
Unified email API for sending transactional emails across 10+ providers.
Readme
@unproducts/unmail
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/unmailImport:
ESM (Node.js, Bun)
import { createUnmail } from '@unproducts/unmail';CommonJS (Legacy Node.js)
const { createUnmail } = require('@unproducts/unmail');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
