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.
- 🚀 Features
- 📏 Requirements
- 🏃 Quick setup
- 🚧 Roadmap
- ⚖️ License
- 💻 Development
- Send transactional emails
- Check DKIM, SPF & Domain Lockdown
- Webhook notifications
- Manage sub-accounts
- Retrieve metrics
- Manage suppressions
- Manage inbound domains
- Manage account lists
- Manage recipient lists
- MailChannels account
- Email API key
- Add
mailchannels-sdk
dependency to your project
# npm
npm i mailchannels-sdk
# yarn
yarn add mailchannels-sdk
# pnpm
pnpm add mailchannels-sdk
Already implemented features are marked with a checkmark. Please open an issue if you find any bugs or missing features.
- 📧 Emails
- 📢 Webhooks
- 🪪 Sub-accounts
- ✅ Create Sub-account
- ✅ Retrieve Sub-accounts
- ✅ Delete Sub-account
- ✅ Suspend Sub-account
- ✅ Activate Sub-account
- ✅ Create Sub-account API Key
- ✅ Delete Sub-account API Key
- ✅ Retrieve Sub-account API Keys
- ✅ Create Sub-account SMTP Password
- ✅ Delete Sub-account SMTP Password
- ✅ Retrieve Sub-account SMTP Passwords
- ✅ Retrieve Sub-account Limit
- ✅ Set Sub-account Limit
- ✅ Delete Sub-account Limit
- ✅ Retrieve Sub-account Usage Stats
- 📊 Metrics
- 🚫 Suppressions
- 🌐 Domains
- 📋 Lists
- 📥 Users
- ⚙️ Service
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