email-i18n
v0.2.3
Published
email pre-processor with i18n and premailer integration
Downloads
3
Keywords
Readme
email-i18n
DEPRECATION NOTICE
We don't maintain this module anymore, please don't use it. It has some code issues and uses at least one dependency that has a known vulnerability. We didn't put it offline since we don't want to break any production code.
What?
E-mail precompiler & optimizer for emails in different languages. Uses ejs templates to load content-snippets in the appropriate language and pre-compile emails.
email-i18 has premailer support built in. Which directly optimizes your emails with inline style rules.
Usage
var prepareEmails = require("email-i18n"),
prepareEmails(
{
src : __dirname + "/emails/src",
target : __dirname + "/emails/compiled",
lang : "en",
usePremailer : true
},
function (err) { ... }
);