#Issue: Emails sending as raw JSON/ProseMirror structure via Google Integration

1 messages · Page 1 of 1 (latest)

rare zenith
#

Hey all, I have the following issue - would be very happy If someone has an idea:

Context: I am using the standard Twenty Google Email integration to send outreach emails. No external tools. Yesterday everything worked well, Today there are some Emails sent correctly and some not.
The Issue: Recently, some emails are being sent and received as raw JSON code (the internal editor state/ProseMirror schema) instead of rendered HTML.
Observation: It seems to happen specifically when I use variables in the text. In the failing JSON payload, I noticed a variableTag node that might be causing a serialization failure.
Example of the received text (Snippet):
JSON
{"type":"doc","content":[{"type":"paragraph","content":[{"type":"text","text":"Lieber Elternbeirat des "},{"type":"variableTag","attrs":{"variable":"Name "}},{"type":"text","text":","}] ...
Suspected Cause: The JSON shows a trailing space in the variable name: "variable": "Name ".
Has anyone else experienced this serialization failure with the Google integration? Has anyone an idea how to solve this issue?

lusty token
#

Hey @rare zenith, are you self hosting ? If yes what version please

#

Isn't it the same thing we've been debugging a while ago @tranquil perch with emojis ?

tranquil perch
#

mmm could be related to escpaed char and fallback to raw text but i am unaware of any change on this scope recently. maybe @obtuse totem has more info about that ?

obtuse totem
rare zenith