That's a big undertaking. An excellent open source mail server written in Java already exists: Apache James. Check it out to get some ideas on what's involved. Its UI is based on Telnet, though, so no web technologies are involved.
posted 6 years ago
i want to develop mail server..as well mail client.....