You need an IMAP account which can accept connections over SSL/TLS from a third party app (your Perfex installation). If you are running under a 2-way factor authenticator, you need to disable it elsewise, connections wont be accepted by your server.