Sometimes all you want is a really simple responsive HTML email template. Here it is.
This repo is a fork of leemunroe's responsive-html-email-template project. The only big difference is that my fork is built using Gulp. This project has been originally forked for creating a pull request, however because of strict contributing policies its changes didn't make it to the original repo (leemunroe/responsive-html-email-template).
For an API service (like Mailgun) you need to inline the CSS before sending. See email-inlined.html
for an example.
You can use CSS inliner tools like Responsive CSS Inliner or Juice to do this automatically.
- Copy all of email.html
- Paste the HTML as the source into the inliner
- Copy the HTML output and use this as the email template you send
Use the template email.html
as is. They'll put the CSS inline for you when you put together your campaign.
Tested on mobile, desktop and web.