Clean up the mailer and fix some pep8 complaints
Clean up the mailer and fix some pep8 complaints

msupino/alerta-contrib,msupino/alerta-contrib,alerta/alerta-contrib,alerta/alerta-contrib,alerta/alerta-contrib