You should be able to accomplish this with a Zimlet. There's various guides for programming them around the forums and the wiki. Designing a zimlet may be difficult if you dont have a good understanding of the technologies involved, but they will expose Zimbra to the level that you need.
I cant help too much with the design of it other than to say that it's possible
