Here's one I just quickly found on the i-net:
http://freshmeat.net/projects/wapmail/?topic_id=34
Also might want to try this:
http://www.html2wml.org
With the last one it looks like you can WAP-ify your current webmail solution. Or at least the HTML aspect of it. You would then have to inject the code aspect.