DAR-287 Moved mail notification code.
DAR-287 Moved jsMessages.