added HTML email support