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)
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');
local development
- Clone this repository
- Install latest LTS version of Node.js
- Install dependencies using
yarn install
- Run interactive tests using
yarn dev
Published under the MIT license.
Made by community 💛
🤖 auto updated with automd