Moved some common properties of mail and input mail to another class
#107 Statuses are only used when delivering mails to the front-end, flags are used elsewhere
Pep8 Fix