output: Refactoring & local SMTP support
Some pylint config fixes