Adding sendEmail

Adding sendEmail - smtp server, email to, email from are configurable; currently set to send emails using the hotmail smtp server (smtp.live.com)
var