Sending E-Mail with NodeMCU

Hey!

I am doing a little project where I measure the room tmeperature and every 24 hours I want to send an E-Mail with the measurements of the last 24 hours. Also I want to get notified via E-Mail whenever a critical temperature is reached.
The program is working pretty well so for and sending E-Mails whenever it is supposed to. Only formating the E-Mail is not working yet.

This is how I do it:

SMTP.Send("my@email.com", "Hello,\n This is a test. \n Best regards \n SW"))

But all i get in the E-Mail is a message without any paragraphs.
As I am sending many values it is very confusing to read the Mail. I have also seen and tried \n\r but it does not work either.

I would be really happy about some help here!

Thanks already!

Britta

What happens if you do SMTP.Send("my@email.com", "This is a test. ")) ?

Formatting emails directly to look pretty can be messy. Something to do with MIME - Wikipedia

That's why email API's often help, such as https://www.mailgun.com/