title: Missing ; before statement Google Apps Script
body: <p>I am new to Javascript, my error is Missing ; before statement on Line 25.</p>
  
  <p>The other question was Java related, not JavaScript related.</p>
  
  <p>Here is the code that is problematic.</p>
  
  <p>Line 24  function emailChecker(){</p>
  
  <p>Line 25  var readMessages() = DocumentApp.create();</p>
  
  <p>Line 26  var emailAddress() = Session.getActiveUser().getEmail();</p>
  
  <p>Line 27  GmailApp.getInboxUnreadCount();</p>
  
  <p>Line 28  var unreadMessages() = InboxUnreadCount();</p>
  
  <p>Line 29  GmailApp.sendEmail(emailAddress) (You have + unreadMessages + unread messages!)
  }</p>