Added html email support

Since we are sending <A HREF> anchors, we need to send the email with html mailtype.

CI will still send a plaintext email for those few clients that don't accept/do not view html emails.