script zimbra rest parse emails