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 Node.js SDK

MailChannels Node.js SDK

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.

Important

Disclaimer: This library is not associated with 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
  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.

Note

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
pnpm build

# Run ESLint
pnpm lint

# Run Vitest
pnpm test
pnpm test:watch

# Run typecheck
pnpm test:types

# Release new version
pnpm release

About

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

Topics

Resources

License

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •