Send mail only the the student upon publishing

This fixes #212.