Reinstate error email reporting