zmmailbox option What I should have asked was what language you're using and whether there's a Zimbra install on the box.
You can use the zmmailbox gf command to fetch this data, then just parse the results of executing the command.
If you're in Java, you can use the com.zimbra.cs.zclient.ZMailbox class to fetch this data: new ZMailbox(...).getFolderByPath("Inbox").getUnreadCo unt(). |