basically just ripped out inline-styles -> class conversion to make it email-safe