API to work with Gmail from IMAP built on top of Zend Imap Library