Adding the ability to optinallly send the registration email as an HTML email.