I was trying to set up my Droid to connect to GMAIL using IMAP and POP3 server settings. It took me some time to find addresses and port numbers, so I decided to gather them up in a single place...
Here they are:
Server: imap.gmail.com Port: 993 Security: SSL
Server: pop.gmail.com Port: 995 Security: SSL
Server: smtp.gmail.com Port: 465 Security: SSL
Authentication information should be as follows:
User Name: your gmail user name (use your full e-mail address if you are using google apps)
Password: Your gmail password