Added default value for mail_encoding