Switch MailCheck to use NSInteger rather than 'int' to fix Xcode compiler warnings