When parsing custom CSS into styles to be embedded inline into the email body, if the styles contain background-image attributes with complete image URIs, the style gets truncated at the ":" symbol after the protocol.
Example:
p {
background-image: url(http://example.com/image.jpg);
color: red;
}
will result in
<p style="background-image: url(http; color: red;">
Fixed in this commit: http://github.com/ihoka/mail_style/commit/eddefa93165066f2513f2933ea332a473e046f5c