Hello,
what exactly do you need ? A script that saves the output of 'show running-config' and 'show inventory' to a .txt file and sends it to a specified email address ? Cisco has EEM, check the link if this is what you need first. If so, we can help you create the script...
http://www.cisco.com/c/en/us/support/docs/ios-nx-os-software/ios-embedded-event-manager-eem/116176-technote-eemscripts-00.html