Set email form type correctly