send email if response is 404 or 401