Gmail Module Output Adding Extra Code at End and Duplicating Message

:bullseye: What is your goal?

Output a clean Draft Email with the Gmail module using the Result from ChatGPT.

:thinking: What is the problem?

At the end of every draft email there is extra information that is being added to each email that looks like this. It will also include a copy of the message in HTML text.

"undefined

–boundary_1768581005
Content-Type: text/html; charset=“UTF-8”
Content-Transfer-Encoding: 7bit

Test Contents


--boundary_1768581005--"

:test_tube: What have you tried so far?

I’ve operated the GMAIL module as its own project with no inputs just plain text and I still get the error when running the module. I have tried all the inputs and options and always end up with the same code at the end of the draft.

:camera_with_flash: Screenshots: scenario setup, module configuration, errors


Hello,

Welcome to the Community!

Please check following:

  1. Toggle on advance settings and check, if there is no additional email header turned on.

The code you pasted contains smart quotes in this part: charset=“UTF-8” , while the rest of the content is formatted correctly.

  1. If there is no additional headers, start by changing “Body type” to Raw HTML.

  2. If that does not help, add some HTML, for example:

<div>Test content</div>