Skip to content

Instantly share code, notes, and snippets.

@shinecita
Created November 23, 2012 20:13
Show Gist options
  • Save shinecita/4137097 to your computer and use it in GitHub Desktop.
Save shinecita/4137097 to your computer and use it in GitHub Desktop.
, Email = require('starscape-email')
var options = {
template: "weeklyEmail.template",
locals: { newUsers: "3", stats : "x"}, //TODO Load stats
subject: weeklyEmail.subject,
from : weeklyEmail.from,
category: weeklyEmail.category
};
Email.send(user, options, function (err) {
done();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment