The code written to automate Oulook is stored in a file called VbaProject.OTM. As of this writing, the locations of this file across Windows platforms is detailed at the following location:
http://msdn.microsoft.com
/library/officedev/odeopg
/deovrunderstandingvbainoutlook.htm