Im looking for the javascript function for Get Mail and how it is called in zimbra. I wrote a script to gives me notivactions when zimbra gets mail a new mail and just need the function to finish it.

Thanks