I just created a new package of the remoting framework.
It includes a new function which returns the username for a given email. It worked in every of my test cases, but if you encounter a problem please inform me.
I also update the examples files.
As The forum does not allow pkg upload I put them here, but Till or falko, you can put them were ever you want.