based on code collected
pyMailer is set of scripts written in python to provide an easy interface to sending mails. It runs on all platforms supported by python. It has support for encryption and authentication enabled smtp servers (e.g. gmail) as well as attachments.