The contact form i am using at this site is an example for a google apps script. When you enter your contact request i will get an email and the request will be recorded on my google drive.
The source code is shown below. The html page (form.html) where you enter your contact request contains a form which posts your data to the service at google scripts. The service us triggered and the doPost function gets triggered. doPost does the processing by extracting the data from the request and storing the contact information onto my google drive. At the same time i get an e-mail.