added mailer for when a student submits to an assignment

I prefer to put these type of methods below `protected`, to indicate that they aren't for public consumption.