FreePOPs is a webmail to pop3 conversion daemon. It is extensible to support other webmail using the scripting language LUA. See the homepage for supported webmails.
Haiku web interface.
Haiku was originally built for an embedded system coded directly into the server using C and Lua. Haiku has grown since and is used in many different websites.