Minor change: mapped the functionality to the new portal framework
Added missing class
Minor change: changed the order in which the semesters with no
enrolments appear in the email message, to become incremental