LoginNotifier.zip
Here is a basic example of how you could do it, this application sends an email and closes. If you have done any programming before, it should be as simple as to open the solution and fill in the details needed to send the email. However if you have not worked with, or do not have visual studio. then no fear, this project was made using Visual Studio C# Express 2010, which can be downloaded free from...
>
www.microsoft.com/express/Downloads/
Also to add the key to registry, you can use
regedit.exe found in the windows folder, however id reccomend you google this subject if you are not that familiar.