Allow SMTP credentials to be supplied to ProcessStateEmailMonitor

I added some functionality to login to the SMTP server, specifically so I could send emails from Webfaction. 

If this is of use to anyone else I can add the required documentation to the other utilities that use ProcessStateEmailMonitor, make any other alterations as required, and then update the Pull Request.

Best wishes,
Steven.