Add non-file attachement to send_mail (without providing path to file)

+ some pep8 cleanups.