Add a module to the project and paste the macro code. Make sure you save the project when you close Outlook.
To test it, select a message delivered on a friday and run GetMsg from the VBA editor.
The main macro is run from an Outlook rule as a script.
You may need to digitally sign the project. See
http://www.gmayor.com/create_and_emp...gital_cert.htm