[MailHandle] Fixed compiler warnings.