Flash Webmail Application

I have a question concerning the use of Flash to create a webmail application. I was wondering if anyone knows of how to create a application with Flash and possibly other scripts such as PHP to essentially retrieve e-mails from a POP3 mailbox and possibly send them. I do not want anything fancy, but if someone could tell me if it is possible or perhaps show me how to do it, that would be very helpful. Also, I do not mean e-mail forms with flash.

Thank you