Added mimedown function to allow for html mails.
Added opa mode.