Starter kit to create, inline, translate and send responsive emails using Zurk ink
Zurb Ink v2 with gulp, sass, inky, browserSync, image compression
Just clone the repo and install the necessary node modules:
$ git clone https://github.com/quentinneyraud/mailing-starter-kit.git
$ cd mailing-starter-kit
$ npm install # Install Node modules
All configuration files are in config folder
- Subjects and lists of emails indexed by languages
- Configuration used by Email API
debugEmail
to test email sending
- Source and dist folders
translate
to translate emails
lang
you want to translate- <string to replace> : <translation>
Write your email like an HTML page with id, class and a separate style.css Use Zurb Ink to make it responsive (Docs & Links)
npm run build
: inline CSS (& translate)npm run send:dev
: send each email todebugEmail
npm run send:prod
: send all emailsnpm run watch
: coming soon
- watch task with browser-sync
To use a different email API :
- Create
MyCustomEmailService
in EmailService folder - Set
emailTransporter: MyCustomEmailService
inproject
config file
- Templates in
templates_examples
- Zurb Ink doc
- Building Responsive Email Templates with Ink
- CSS Support Guide for Email Clients
- Zurb Ink Snippets - ST3