change mail logger subject & pep8