correct coding standards
fix line length for templated emails