Added support to inline css in html email

This is a draft. I've got some unit tests, but I'm not sure how to test it in a real instance of jenkins.