When a course is completed, no matter what their results are, the title of the course is
and content of the email sent to them is,
"Congratulations on completing -course_name-! Here are your results:"
which is followed by the rest of the email content.
This is a little confusing to some users who have not "passed" the course and would like to retake the course, as they interpret "Course Completed" as having finished the course successfully.
Maybe we can change the title and content of the email a little bit to indicate how they did in the course.
Like a different email title and content for if they pass or failed the course.