Email All students Function fixed and informs admin when job is finished through email