Sending an email

Quite similar to http://www.fssnip.net/eg but authentication, html-messages and async sending.