Have the script write an INI file on a central server. Use the workstation name as the file name. Then write parameters as needed. Such as "user=fred", etc.

Then you can have a server process enumerate the directory; read the files it finds; send the e-mail; delete the file.