You dont need anything fancy smancy, you simply put the script in a custom command, and publish this on the desired web-interface, so the users can execute the script whenever they want the report.
Also remember to give the users correct rights in security roles to execute custom command.
And in the email sending of the csv file you can use
$recipients = "%adm-InitiatorEmail%"
if you are not already using the initiator variable.