mail test fix