Emogrifier – Convert HTML & CSS into gmail friendly emails
August 11th, 2008 by John Reeve
While working on the “email this page” feature in Intervals we needed to find a way to merge HTML & CSS files into a Frankenstein-like document that gmail would honor. Quick back story — gmail doesn’t play nice with conventionally defined CSS. We came up with the Emogrifier, a PHP utility we are adding to the Pelago collection of Sidecar Projects.
Visit www.emogrifier.com to try converting some of your web pages to gmail friendly emails and read more about the project. While you are there, feel free to download the source code for use in your own applications.
Tags: css, emogrifier, gmail, html


August 9th, 2009 at 2:41 pm
Thanks. You saved my bacon. After reviewing this comparison of CSS Support in email clients:
http://www.campaignmonitor.com/css/
I was near despair, but emofrigier did the trick.
August 15th, 2009 at 3:52 am
Great tool.
July 3rd, 2010 at 12:05 am
What a great tool!
September 21st, 2010 at 4:32 pm
guys,
Awesome script! Just saved me a ton of time!! THANK YOU THANK YOU THANK YOU!!
October 1st, 2010 at 2:37 pm
Thank you!
December 14th, 2010 at 4:45 am
This is an amazing tool, the mere existence of this tool answers so many of those “why is gmail fucking up my html” questions that it’s just unbelievable. (anybody have trouble with tables? hah!)
Thank you thank you, THANK YOU!
If there’s ever a need for a reference or a testimonial, email me!
April 4th, 2011 at 10:20 am
For those who our interested in a C# port of the PHP emogrifier code, Jonne Kats has created a version of the Emogrifier for you. Check it out at:
https://github.com/Jonne/CssFlattener
June 29th, 2011 at 12:29 pm
Thanks Emogrifier!!! You Rock!! gmail was the only mail client that was giving me problems.
November 9th, 2008 at 1:09 pm
January 20th, 2010 at 3:22 am