Answer:
It uses the default POP3 port - port 110 - to connect to your mail server, and port 143 to view IMAP4 folders.
Additionally, it uses port 80 for HTTP requests.