Javascript version working...successful w/ Opera 5 for Linux, Mozilla 0.9.1 and Galeon 0.11 on Linux. Konq isn't working yet (?? any ideas ??), and I haven't tested on WinX yet. I didn't change the actual js though (just the PG query), so hopefully it'll be ok.
fixed to set creation_user only if party_from is actually a user.fixed to use the acs-kernel param OutgoingSender if party_from doesn't have an email address.