Hybrid View

Using command line to synchronize tasks

I am trying to devise a way to synchronise tasks in zimbra accounts on my server to a proprietry task management system. I am therefore looking for a command line way or API to create / delete tasks.

I have looked through what I can find out about the zmmailbox command with no luck. Is there a simple way to create / delete a task through this? A command to list the tasks in a folder, and one to create / delete them. Or is there another way that would be better to do this - a php module would be ideal.