This is what I have done on http://itests.pennacool.com/moodle ...
In /moodle/mod/quiz/locallib.php
function quiz_send_notification_emails
// attempt info
$a->submissiontime = userdate($attempt->timefinish);
$a->timetaken = format_time($attempt->timefinish - $attempt->timestart);
$a->sumgrades = $attempt->sumgrades;
$a->grade = $quiz->sumgrades;
$a->gradepercent = number_format((100*($attempt->sumgrades/ $quiz->sumgrades)),0).' %';
// student who sat the quiz info
$a->studentidnumber = $USER->idnumber;
$a->studentname = fullname($USER);
$a->studentusername = $USER->username;
$a->password = $USER->password;
In /moodle/lang/en_utf8/quiz.php
$string['emailconfirmbody'] = 'Dear Parent or Guardian,
$a->username
$a->coursename
$a->quizname
Grade for this submission: $a->gradepercent
You can review this attempt using the following link
$a->quizreviewurl&showall=true
Please login as
username: $a->studentusername
password: as sent by email when you registered.
If you cannot remember your password, please send an email to <em>register@pennacool.com</em>
Thank you for choosing pennacool.com ' ;