made only one template email, and only iterated over 1 set of students