# Issue Formatting Outlook Emails

**URL:** <https://community.make.com/t/issue-formatting-outlook-emails/61828>\
**Category:** Beginner Questions\
**Tags:** email\
**Created:** [November 19, 2024, 4:19pm UTC](https://community.make.com/t/issue-formatting-outlook-emails/61828 "2024-11-19T16:19:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkGould870](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@MarkGould870](https://community.make.com/u/MarkGould870)\
**Post date:** [November 19, 2024, 4:19pm UTC](https://community.make.com/t/issue-formatting-outlook-emails/61828/1 "2024-11-19T16:19:33Z")

</div>

Hi All. New to [Make.com](http://Make.com) and am having a challenge with the Watch - ChatGPT - Draft scenario for Outlook 365.

The issues are:

1. HTML Format: I have read a number of posts about the issues with poor text layout. I have removed the instruction from ChatGPT to format in HTML and used the code:

{{replace(1.choices[].message.content; "/\n{2,}/g"; "

")}}

1. This improved the layout but there is still no line break between each sentence (strangely when I paste the email into this forum, it displays with the line breaks (I have removed the breaks for clarity on this post).

2. Also, it has added in `html and ` at the end.

Email content below:

````html

Dear Sam Fra,
Thank you for reaching out to us again, and I apologize for any inconvenience this may have caused.
I understand that you have mentioned making the payment on the 12th of November. We appreciate you providing this information. To help us resolve this matter swiftly, could you kindly forward us the remittance confirmation or any receipt you received? This will enable us to locate your payment and update our records accordingly.
Once verified, we will send you an email confirmation confirming the amount received and any further action taken. In the meantime, please rest assured that we are actively investigating this issue on our end.
If there's anything else you need or any further assistance required, please feel free to reach out to us directly at enquiries@sport4kids.biz or on 0300 303 3866.
Thank you for your patience and understanding.
Warm regards,
The Sport4Kids Team ```

Any assistance appreciated. Thanks.
````

---

<div class="post-metadata">

**Author:** ![samliew](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/samliew/32/13327_2.png) [@samliew](https://community.make.com/u/samliew)\
**Post date:** [November 20, 2024, 1:54pm UTC](https://community.make.com/t/issue-formatting-outlook-emails/61828/2 "2024-11-20T13:54:14Z")

</div>

Welcome to the Make community!

Please see these duplicate threads asked and answered by other community members:

- [Automating email responses with ChatGPT while facing formatting issues in Gmail - #2 by samliew](https://community.make.com/t/automating-email-responses-with-chatgpt-while-facing-formatting-issues-in-gmail/31118/2)
- [CHATGPT TO EMAIL Anyone please help trying to solve for 2 days :( - #6 by samliew](https://community.make.com/t/chatgpt-to-email-anyone-please-help-trying-to-solve-for-2-days/42669/6)
- [After recieving a Completion Request from ChatGPT, how do I format my email with line breaks? - #4 by samliew](https://community.make.com/t/after-recieving-a-completion-request-from-chatgpt-how-do-i-format-my-email-with-line-breaks/59868/4)
- [Maintain line breaks in HTML email - #2 by samliew](https://community.make.com/t/maintain-line-breaks-in-html-email/59225/2)
- [Claude/GPT new line outputs for HTML email - #2 by samliew](https://community.make.com/t/claude-gpt-new-line-outputs-for-html-email/16805/2)
- [Email output separate rows by new lines - #2 by samliew](https://community.make.com/t/email-output-separate-rows-by-new-lines/17535/2)
- [OpenAI & Line Breaks, \<br\>, or \N - #4 by samliew](https://community.make.com/t/openai-line-breaks-br-or-n/45345/4)
- [Help with text aggregator and breaking lines - #2 by samliew](https://community.make.com/t/help-with-text-aggregator-and-breaking-lines/53069/2)
- [ChatGPT message format not preserved in 365 Email - #3 by samliew](https://community.make.com/t/chatgpt-message-format-not-preserved-in-365-email/30465/3)
- [How to start a new paragraph + adding signature in email - #2 by samliew](https://community.make.com/t/how-to-start-a-new-paragraph-adding-signature-in-email/16781/2)

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

### Getting Started

- [Help Centre](https://www.make.com/en/help) | [Tutorials](https://www.make.com/en/help/tutorials.html) – Make “Manual”
- [Make Academy](https://academy.make.com) – Basics 101: Learn Make and get certified

### Help Centre Basics

- [Mapping](https://www.make.com/en/help/mapping/mapping) – What is mapping? What can I map?
- [Mapping with arrays](https://www.make.com/en/help/mapping/mapping-arrays) – How to map items in an array
- [Aggregate an array for mapping complex fields](https://www.make.com/en/help/tools/flow-control#customizing-the-output)
- **Date Format** : [tokens for `parseDate`](https://www.make.com/en/help/functions/tokens-for-date-time-parsing) | [tokens for `formatDate`](https://www.make.com/en/help/functions/tokens-for-date-time-formatting)
- [HTTP modules](https://www.make.com/en/help/tools/http) – Make a request, Get (download) a file
- [Webhooks](https://www.make.com/en/help/tools/webhooks) – Error Handling, Responding to webhooks

### Articles & Videos

- [Router Magic Formula](https://www.youtube.com/watch?v=4Q-5BsCtJu4) - YouTube
- [Error Handlers in Make](https://www.youtube.com/playlist?list=PLRE9E-rAD8U10mx2TRs54Nq1XJDdK9Kx4) - YouTube playlist
- [Getting started with OpenAI](https://community.make.com/t/getting-started-with-openai-gpt-3-and-make/7796) - How to setup and use OpenAI (ChatGPT) in Make
- [How to use Regex in Make](https://community.make.com/t/how-to-use-regex-in-make/202) - How to use pattern matching to extract the text you want
- [Webhooks – Make Academy](https://academy.make.com/courses/IntermediateC04) – tutorial on how to use Webhooks

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the [Make Academy](https://academy.make.com) will save you lots of time and frustration using Make.

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [February 18, 2025, 2:02pm UTC](https://community.make.com/t/issue-formatting-outlook-emails/61828/3 "2025-02-18T14:02:22Z")

</div>

This topic was automatically closed because it's resolved or inactive. Please, start a new topic.


