In a desperate attempt to reduce the code size of a dispatched email (mainly to avoid Gmail Clipping), our Front-End Development team have developed a script which not only minifys the HTML, but also removes most closing elements e.g. </td>'s, </tr>'s etc...

Now... this feels dirty to me but according to W3C, this is perfectly acceptable HTML but invalid XHTML. But realistically - how many of us send emails which are completely valid anyway?

Obviously the most important part is how it displays across different email clients and after sending a quick test to Litmus - I haven't noticed any noticable issues.

I'd be interested to hear what you guys think of this?