Hello Rabi,
I have added support to the SASL package to authenticate using the XOAUTH2 mechanism necessary to support Gmail POP3 server access for free users.
You need to use this script to get an OAuth access token with the POP3 client class:
phpclasses.org/package/2-PHP-Access ...
There is documentation here to create a Google application so you can retrieve the access token that is needed to pass to the POP3 class to authenticate.
phpclasses.org/browse/file/327263.h ...
Can you try to follow these instructions and check if you can access the Gmail POP3 client and then let me know if you have any difficulty?