Q:

Django New lines in view variable

I am sending email with Django using Sendgrid. I have a variable message for the message that will send, however the message holds the value of a few other variables. I would like them to be on different lines to make the email easier to read. Here is what I have, although it is not working.
if form.is_valid():
    name = form.cleaned_data.get('name')
    phone = form.cleaned_data.get('phone')
    email = form.cleaned_data.get('email')
    party_size = form.cleaned_data.get('party_size')
    form_message = form.cleaned_data.get('message')
    listing_address = listing.address
    message = name + "\n" + phone + "<br>" + email + "<br>" + party_size + "<br>" + listing_address

    send_mail('New Lead', message, 'to email', ['email@gmail.com'], fail_silently=False)

The email is being sent as this:
garrett 1234234<br>g@d.com<br>2<br>address would be here

Although I would like this:
garrett
1234234
g@d.com
2
address would be here

A:

The best way is to create email template & provide context to email template then use generate email content. Use this content(generated_html) in send_email
as parameter html_message
    send_mail('New Lead', message, 'to email',
        ['email@gmail.com'], fail_silently=False, html_message=genenrated_html)

