I have a CRM system written in Java that handled emails for all employees. It currently retrieves the emails and stores themm in a DB and the CRM system handles the emails just like a email client does.

I would like to know if Zimbra has APIs to allow retrieving Emails from the Zimbra Email Accounts and also searching for Emails(given a search criteria). Also it would query/retrieve other folders such as Sent, Trash etc. Does Zimbra have APIs that can do this and if so could you post a link to those APIs so I can check them out.

Thanks Very Much!