fixed newmail function MailDir