Log errors and avoid sending too many emails — AI Product | Success.