title: How to implement newline or carriage return using gmail to send text (sms) messages. \n newline character doesn't work
body: <p>I am using google scripts to send text messages. I would like to use the newline character to format messages properly. I would expect the code below to display:</p>
  
  <p>Hello.<br>
  How are you?</p>
  
  <p>Instead, the following is displayed:<br>
  Hello.How are you?</p>
  
  <pre><code>var response = "Hello.\nHow are you?"
  
  MailApp.sendEmail(recipient, subject, response);
  </code></pre>
  
  <p>Please note recipient is in the format:
  "(956) xxx-xxxx" &lt;1740xxxxxxx.1956xxxxxxx.dhJVMRb1ZG@txt.voice.google.com></p>
  
  <p>That is, this is being sent as sms via gmail.</p>
  
  <p>UPDATE, I tried:</p>
  
  <pre><code>function myFunction()
  {
    GmailApp.sendEmail(
  '(956) xxx-xxxx &lt;1262xxxxxxx.1956xxxxxxx.7ljPdnVXKg@txt.voice.google.com&gt;',
   'test mailApp', 'test3', { htmlBody: "break3&lt;br /&gt;line"});
  }
  </code></pre>
  
  <p>and the result was:</p>
  
  <p>test3</p>
  
  <p>which tells me that any email sent to txt.voice.google.com is processed as text only, not html. I hope there's some workaround.</p>