Emogrifier – Convert HTML & CSS into gmail friendly emails

August 11th, 2008 by John Reeve

EmogrifierWhile 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: , , ,

10 Responses to “Emogrifier – Convert HTML & CSS into gmail friendly emails”

  1. Joshua Says:

    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.

  2. Eduardo Says:

    Great tool.

  3. Svante Says:

    What a great tool!

  4. john Says:

    guys,
    Awesome script! Just saved me a ton of time!! THANK YOU THANK YOU THANK YOU!!

  5. Nick Says:

    Thank you!

  6. Fredrik Says:

    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!

  7. John Reeve Says:

    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

  8. mike Says:

    Thanks Emogrifier!!! You Rock!! gmail was the only mail client that was giving me problems.

  9. Pelago, Corp. - Emogrifier - Convert HTML & CSS into gmail friendly emails Says:

    Kramer auto Pingback[...] Emogrifier – Convert HTML & CSS into gmail friendly emails [...]

  10. Emogrifier - Convert HTML & CSS into gmail friendly emails | Project management and time tracking blog for web designers and small business :: the Intervals Blog by Pelago | Diigo Says:

    Kramer auto Pingback[...] Emogrifier – Convert HTML & CSS into gmail friendly emails | Project managemen… – The Diigo Meta page [...]

Leave a Reply