Webmail on 4.x depends on java in oracle and it hasn't been ported to work on postgresql. I'm considering porting it, but I need to finish up a few other things like my part in the 4.6 release and the integration of ispell dictionaries and snowball stemmers with openfts.
If I do port it, I'm considering adding oracle support to nsjava. I will then refactor the webmail code to eliminate the java in oracle dependency.
On the other hand, I might just add in service contract support to webmail and setup the postgresql version to use nsjava for mail parsing. For oracle, the mail parsing can remain in the db, as it exists now.