add error messages for mail sending