error when mail fails