Hy! I'm using this configuration:
------------------------ START OF THE SETTINGS ------------------------
Connection type: POP3
Incoming server: pop.gmail.com
Username: yourname@gmail.com
Password: your password
Outgoing server: smtp.gmail.com
In advanced settings:
Encryption
- Incoming server: SSL
- Outgoing server: SSL
Outgoing username: yourname@gmail.com
Outgoing password: your password
Incoming port: 995
Outgoing port: 465
------------------------ END OF THE SETTINGS ------------------------
And you have to enable POP3 downloading in Gmail settings on the internet (Settings >> Redirecting and POP [or something, because I use Hungarian version])
(Sorry for my bad english.)