changes build to run gradle via the wrapper; reinstates email notification