PEP8 + flake pass before committing code
Force local_hostname to send emails

ticket: #2206