Added email notifications to report build errors