work css work on portal and related pages, work on the messaging component and controller, improvements to image handling for email templates