update mailthem.go:

refactor and send emails according to each studuent