update email sending to play nice with HTML format