HTML emails & email signatures should be easier than this. Grab the code on Github to simplify how HTML emails are built. When you need some basic responsive email signatures that work on mobile and your colleagues need them too, you don't want to deal with tables and inline styles. Writing HTML emails & email signatures sucks. Let's make it easier. We can't fix all email clients, but we can surely make our lives easier with some automation. Any number of CSS, SASS or LESS files in a template directory & they will be automatically processed & inlined into the files outputted in ./dist. Templates can contain multiple HTML files from which to build emails. For example, the dark template has signature.html and signature-reply.html, which is a simpler version. Each HTML file will be treated as an email template, except for *.inc.html.
Features
- Customize templates
- Generates email templates from your config
- Allows generating multiple templates at once (for your colleagues too!)
- Transforms linked (link) CSS into inline styles
- Embeds local img[src] into the template (base64)
- Minifies the template
- Adds some basic media queries for mail clients that support them