Sits atop nodemailer.
In package.json, under dependencies, you can do...
"emailer": "https://github.com/wookets/node-emailer/0.1.1"
var emailer = require('emailer');
emailer.send('SOME:URL');
emailer.send('SOME:URL', callback);
{
"emailer": {
"transport": "SMTP",
"settings": {
"service": "SES",
"auth": {
"user": "MEOW",
"pass": "PANTS"
}
},
"default": {
"to": "someone@email.com",
"from": "someone.else@email.com",
"subject": "Why me worry?"
}
}
}
0.1.1 - Removed the requirement for wookets/node-config