It's better to pass simple values to mailers (ids, strings, etc.) instead of whole objects. So in this case, I'd pass `@grade.id` and query for the grade in the mailer (you can get `student` and `assignment` from `grade`).