template: add targets argument to construct_student_email.