Has anyone looked at xajax (http://xajax.sourceforge.net/)? I don't know much about RoundCube's AJAX framework, but I know there was some talk about restructuring it a bit, so thought I'd throw this out and see if it's any use. It looks pretty interesting from a cursory examination.
-j