title: monitor new mail with label X and import mail contents to specific spreadsheet
body: <p>I'm new to google apps script. I want to script that waits for new gmail mail with a label X and then imports the mail contents to a specific spreadsheet. </p>
  
  <p>The first step of monitoring email with a certain label is described <a href="https://stackoverflow.com/questions/11857494/import-emails-that-fit-criteria-to-google-spreadsheet-using-apps-script">here</a>. </p>
  
  <p>Help me with the next step. What command do I need to use to target a specific spreadsheet to send the content to?</p>
  
  <p>The linked code contains this command but with no targetting of a specific spreadsheet <code>SpreadsheetApp.getActiveSpreadsheet();</code></p>