i'm not trying to steal his thread or anything like it but there's already a script that allows only certain email or emails to remotely do whatever you want...
for now it's set to remotely run applications in your computer...
here´s the post
Remotely run APPS