Everybody loves Gmail, but if you are trying to integrate other system i.e a ticket system that does not support ssl it might be a pain.
You can use http://www.delegate.org/delegate/ as a proxy to connect your application to gmail.
- Download and install delegate
- run the command below(it will setup delegate to be a pop ssl proxy on port 110.)
delegated -P110 SERVER=POP FSV=sslway admin=<your email>
In your application the pop server is localhost and your username is firstname.lastname@example.org:995(since the proxy is generic, the username has the additional connection information so you can poll multiple accounts witht he same proxy) and the password is your usual gmail password