Hi Ronan,Now I get it. Specific students linked to specific teacher's email.
With so many stores, having a certificate for each store probably would not work. You could use the email other feature and send it to someone whose responsibility would be to sort out when specific managers need emails about their employee certificates. We did it the old fashion way, the employee had to present their paper certificate to their manager . Essentially we had 200 managers/locations and potentially 4000 employees taking a course, so I get it.
I think a 3 party vendor is the way to go. I can not remember if the moodle database records who created the user or adds a user to a course. That would link manager and employee (assumes no transfers). Then someone could change the code for the email.
If I had someone in corporate who knew VBA I might suggest using something like Access to send email reports to managers based on an imported site wide certificate file/report on some regular basis. Or having Access have its readonly hooks into the Moodle mySQL database to do the same thing.
I was in the equal of a corporate office. Corporate HR would do a physical audit of employee records at a location and the managers were responsible but employees could be terminated if they failed to take required training. I was very happy I did not have to match up the certificates by locations!!! I did compile reports of how many certificates were issued in each course and nobody ever asked me for a list by last name.