I am presuming you have used the POP3 and SMTP email account test and both tests indicated email is configured correctly to send and receive?
When you say "If you receive an email all you get is the window: What part of the retrieving email does the "during" is not a valid integer value" appear?