Node TransacEmail

Transactional Email & Templated Email for NodeJS done right

    Clear Separation of Concerns

    Supports any Template Engine (e.g. Underscore Templates)

    • Mailing.compile(mailDir, {templateEngine: engine});

    Supports any Mail Provider (e.g Mandrill)

    • Mailing.compile(mailDir, {mailProvider: require('transacemail-mandrill')('apikey')});

    Supports any number of CSS files for each email. CSS is automatically inlined for free thanks to Juice

    Supports any file extension

    • Mailing.Mail.DEFAULT_HTML_EXT = ".html";
    • Mailing.Mail.DEFAULT_TEXT_EXT = ".text";
    • Mailing.Mail.DEFAULT_META_EXT = ".meta.js";

See the working example code . We accept pull-requests!