Update format type to emailSender