mail server and date fixes