I wrote a little plugin for squirrelmail that lets you log in using an email address rather than a username. This is mainly for people who have multiple mailboxes and don't like exposing the pop_xxx_yyy mailbox names.
So, for example, if fred@example.com maps to pop_example_fred, then you can just use 'fred@example.com' for the username.
You still need to specify a server though. I may work on that some other time. :)