First working version of mail server