adjust css for mail (refs #3970)