Mail Proxy Service for Gmail Imap
Gmail Imap recommends use of XOAUTH2 based login instead of user-credentials. But PHP IMAP APIs is still not ready with native support.
This puts features built on PHP IMAP API to jeopardy.
To overcome this impact we have build mail-proxy for Gmail Imap Service which can interface with PHP IMAP Login and tunnel to Gmail IMAP OAUTH2
You can download executable comaptible to your OS from here Then start proxy service as follows.
./gmail-imap-service-arch-os --host localhost --port PORT_NUM