How do I make n8n write structured emails with paragraphs and "enter key" spaces instead of writing everything in a single line

I am a complete beginner in using n8n. I created a send email gmail node so my bot can write and send emails on my behalf. However when I ask it to send an email, it writes everything in a single line, like this:

Hi Ballas, I would like to remind you about your trip from Lisbon to Barcelona on 05/03/2025, departing at 15:35. Please note that you are only allowed to take 1 bag weighing up to 23kg. Also, here are some items that cannot be taken in your checked bag: - Cash - Important documents - Valuable electronics - Essential medications Please be sure to check the airline’s rules for more information. Kind regards, John Doe

It doesn’t have any structure to it, as it would like this:

Hi Ballas,

I would like to remind you about your trip from Lisbon to Barcelona on 05/03/2025, departing at 15:35.

Please note that you are only allowed to take 1 bag weighing up to 23kg.
Also, here are some items that cannot be taken in your checked bag:

  • Cash
  • Important documents
  • Valuable electronics
  • Essential medications

Please be sure to check the airline’s rules for more information.

Kind regards,

John Doe

So how can I “teach it” to write well structured emails.

Thanks!

Setting Email Type to Text should solve it (see screenshot below).

If the input comes from previous node and Email Type is Text, chances are the previous node provided no formatting at all. What do you have as an input to Gmail node?

A better approach to help you would be if you posted your workflow/node in question. For this select nodes on canvas and Cmd/Ctrl-C them to clipboard.
In your post click the </> button in formatting bar and Ctrl/Cmd-V paste.

If first suggestion works for you please mark the this reponse as a Solution.

1 Like

Hello Olek!

Simply changing the html option to text, as shown in your screenshot, did the job.

Thanks a lot!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.