I am writing an e-mail HTML template, and some e-mail clients do not support for specifying CSS. The only alternative for applying CSS is to use
2020 solution https://www.npmjs.com/package/inline-css
var inlineCss = require('inline-css'); var html = ""; inlineCss(html, options) .then(function(html) { console.log(html); });