Implemented mail messages templates and layouts