Create check_mail_process