[go: up one dir, main page]

Skip to content

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

License

Notifications You must be signed in to change notification settings

unproducts/unmail

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)

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

License

Stars

Watchers

Forks