error emails now sent to the user