Skip to content

sendstreak/sendstreak-node

Repository files navigation

SendStreak Node.js SDK

SendStreak is a simple interface that lets you integrate quickly to Amazon SES, Gmail or any other SMTP server to send your transactional emails easily and pretty much for FREE.

New package!

Now with no dependencies and scoped package name!

Installation

$ npm install --save-exact @sendstreak/sendstreak-node

Usage

const SendStreak = require('@sendstreak/sendstreak-node');
const sendStreak = new SendStreak('YOUR_API_KEY');

// Push your contacts to SendStreak with as many attributes as you want
await sendStreak.updateContact({
    email: 'johndoe@example.com',
    firstName: 'John',
    lastName: 'Doe',
    onboarded: false
});

// Send them emails using predefined templates
await sendStreak.sendMail('johndoe@example.com', 'customer-welcome-email', {
    username: 'john_doe'
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published