Add option to send email via gmail or other authenticated service.

I was trying out repoguard on my local machine, and didn't have a local SMTP server to use. I wrote this code to send email via other SMTP servers (I tested on Google and Microsoft Live).
do we really need to declare it explicitly? I think if username or password is None in the config we can safely assume that we don't want smtp authentication...