Skip to content

Node.js SDK to integrate MailChannels API into your JavaScript or TypeScript server-side applications.

License

Notifications You must be signed in to change notification settings

Yizack/mailchannels

Repository files navigation

MailChannels

MailChannels

npm version npm downloads codecov

Node.js SDK to integrate MailChannels API into your JavaScript or TypeScript server-side applications.

This library provides a simple way to interact with the MailChannels API. It is written in TypeScript and can be used in both JavaScript and TypeScript projects and in different runtimes.

Note

This library is NOT officially maintained by MailChannels Corporation.

Contents

  • Send transactional emails
  • Check DKIM, SPF & Domain Lockdown
  • Configure DKIM keys
  • Webhook notifications
  • Manage sub-accounts
  • Retrieve metrics
  • Handle suppressions
  • Configure inbound domains
  • Manage account and recipient lists
  • MailChannels account
  • Email API key
  1. Add mailchannels-sdk dependency to your project
# npm
npm i mailchannels-sdk

# yarn
yarn add mailchannels-sdk

# pnpm
pnpm add mailchannels-sdk

MIT License

Already implemented features are marked with a checkmark. Please open an issue if you find any bugs or missing features.

Important

Links below point to the official MailChannels API documentation, options and responses may differ slightly when using this SDK. Please refer to the documentation for the correct usage of each feature.

Local development
# Install dependencies
pnpm install

# Build the package
npm run build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Run typecheck
npm run test:types

# Release new version
npm run release

About

Node.js SDK to integrate MailChannels API into your JavaScript or TypeScript server-side applications.

Topics

Resources

License

Stars

Watchers

Forks