Generate nice HTML emails for Enfocus Switch
- Install gulp globally (npm install gulp -g)
- Install dependancies (npm install)
- Run "gulp"
- This will build all emails and place them in the ./dist. directory.
- It will also watch for any file changes and re-build.
- Add new jade templates to ./src/emails/. Each of these jade templates represents an email that will be generated with Gulp.
- Add HTML emails in Switch and link to the files in the ./dist/ directory. When you update the emails in the future, you won't have to re-link anything within your Switch flows.