@tradle/bot-inviter
v1.0.1
Published
A bot that invites people to confirm their email address. This is what people do now.
Downloads
3
Readme
@tradle/bot-inviter
A bot that invites people to confirm their email address. This is what people do now.
Usage
Install
yarn add https://github.com/tradle/bot-inviter
In code / Console
const inviter = require('@tradle/bot-inviter')
bot.use(inviter, {
// the account from which to send emails to users
service: 'gmail',
user: '[email protected]',
pass: 'no really, this is my password',
// notify this guy when a user confirms their email
inviterEmail: '[email protected]',
// confirmation emails sent to users will link back to your server
host: 'localhost',
port: 8000
})