fix small issue with wrong parameters for check_email_received