Zimbra exposes its data via a REST API. This document is the reference for that functionality.
The API supports the following methods to retrieve Zimbra data.
Get Inbox Get Drafts Get Sent Get Trash Get Folder