Added option for HTML and PLAINTEXT selection for emails