title: Unable to get a single linebreak while sending email through Sendgrid
body: <p>I'm using <code>django.core.mail</code> to send email. I want to achieve a single linebreak at some points in the email, as shown here:</p>
  
  <pre><code>Line 1
  Line 2
  
  Line 3
  Line 4
  </code></pre>
  
  <p>I tried doing this using <code>\n</code> after <code>Line 1</code> and <code>Line 3</code>, and <code>\n\n</code> after <code>Line 2</code> and <code>Line 4</code>.</p>
  
  <p>When I send the email, it is received like this:</p>
  
  <pre><code>Line 1 Line 2
  
  Line 3 Line 4
  </code></pre>
  
  <p>As per recommendations on other StackOverflow answers, I tried using the <code>django.template.loader.render_to_string</code> method to generate the appropriate string from a file, but it generates a string with the <code>\n</code> in the exact places where I put them, and so on sending the email it produces the same undesired result.</p>
  
  <p>When I print the string to stdout it appears as desired.</p>
  
  <p>In summary, the <code>\n\n</code> are working but the <code>\n</code> are getting converted to spaces while sending email through Django's <code>send_mail</code>. How can this be solved? Please note that this question is regarding plaintext emails, not HTML ones.</p>
  
  <p>EDIT: Source, as requested in the comments:</p>
  
  <pre><code>from django.core.mail import send_mail
  send_mail(
      'Test subject',
      'Line 1\nLine 2\n\nLine 3\nLine 4\n\n',
      'noreply@test.com',
      ['myemail@gmail.com'],
  )
  </code></pre>
  
  <p>Sent using SMTP via SendGrid, as is specified in my <code>settings.py</code> file:</p>
  
  <pre><code>EMAIL_HOST = 'smtp.sendgrid.net'
  EMAIL_HOST_USER = 'myusername'
  EMAIL_HOST_PASSWORD = 'mypassword'
  EMAIL_PORT = 587
  EMAIL_USE_TLS = True
  </code></pre>