title: Google Apps Script Email A Copy Of Sheet
body: <p>I am having difficulty with this code. I makes the copy, sends the email, but the email does not contain the attachment. I would appreciate any thoughts. </p>
  
  <pre><code> var ss = SpreadsheetApp.getActiveSpreadsheet();
   var MyNewBook = ss.copy("A Copy of " + ss.getName());
  
   var MyUser = Session.getActiveUser().getEmail()
   MailApp.sendEmail(MyUser, 'TEST', MyNewBook);
  </code></pre>