Updated mail server, stores messages in MySQL database.