added option to disable html email
added option to use plain text email only