Fixed bug in mail all students