A pop3 server written in Java using interfaces for custom database implementations