Added mailer.py

This will be incorporated into the main tools file