title: Email of specific data rang / table from Google Sheet
body: <pre><code>function B2B() {
  
    var summary = SpreadsheetApp.getActiveSpreadsheet().getSheetByName(&quot;Summary&quot;);
    var subject = &quot;B2B - Delivery Status on&quot;;
    var recipient = &quot;******@***.in&quot;;
    var dataRange = summary.getRange('B2:AA49'); 
    var data = dataRange.getValues();
    summary.getRange(2, 2, 25, 25).getValue;
    var body = &quot;I just discovered Apps Script and it's so cool!&quot; + data;
    MailApp.sendEmail(recipient, subject, body);
  
  }
  </code></pre>
  <p>Used this query which is working and mail is going but, selected data range is table which i am not getting in table format in the mail.</p>