When using assignments, Moodle can email graders when a student submits work for marking. By default, this email will go to all people who are eligible to mark it. If you want to only email a subset of graders (e.g. the DoS for that student) then you need to use groups.
- Create groups in the Moodle course.
- Either populate the groups manually, or create a Group Choice activity. Each group should be populated with several students and at least one Teacher/DoS.
- Create an assignment.
- Edit the assignment settings. Under Common module settings, set group mode to Separate groups, and under Notifications set notify graders about submissions: Yes.