added mailer for when a student submits to an assignment

I don't think that the assignment mailer gets sent at all in the current implementation.