T
Twenty2w ago
Niklas

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

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?
4 Replies
Prastoin
Prastoin2w ago
Hey @Niklas, are you self hosting ? If yes what version please Isn't it the same thing we've been debugging a while ago @Guillaume with emojis ?
Guillaume
Guillaume2w ago
mmm could be related to escpaed char and fallback to raw text but i am unaware of any change on this scope recently. maybe @Huzef has more info about that ?
Huzef
Huzef2w ago
@Niklas Do you mind DMing me your exact email body you sent?
Niklas
NiklasOP2w ago
Hey @Prastoin , yes we are self hosting. Version: 1.11.0

Did you find this page helpful?