I have already explained in a previous post what Google Apps Script or GAS is. Will use this post to explain the steps needed to write a script and walk you through a simple script that creates a new Google Document and email the link of the created document.