set mail errors false