Email still not Syncing
I have the problem that ever since I installed 20, my E-Mails have not been syncing. I am currently using the Microsoft-Login. I am currently on version 1.6.7 (because I keep getting errors when trying to upgrade). I remember that this was an issue with others earlier too - is this still an open bug?
18 Replies
looks like i have the same issue with the cloud version; gmail account.
cc @charles
Any news / help on this would be greatly appreciated @charles
Still ongoing issue 1.8.2
seems fixed in 1.10.2 😮
same issue, not syncing with thunderbird and not syncing with gmail ( i made a test gmail account, but I do not want to use gmail) .. Where can I get this 1.10.2 version? I'm actually using the web/cloud version not a self hosted server.. so I may be hooped.
What do you mean by "thunderbird" it's an email client not a server
If you're using the cloud version, send me a DM with your account info
This issue is not fixed for me in 1.10.2 using Microsoft account. Also, my IMAP account stopped syncing (different Twenty setup at home for managing a tiny consulting business) when I upgraded to 1.10, this was working in 1.8.
For the IMAP/SMTP issue, Twenty claims that the connection is successfully updated when I press Save, but the blue ribbon saying that the sync is lost is still there and nothing happens when I press reconnect.
free trial ended and I did not renew... until this email sync is worked out the program is basically unusable as a CRM, so I hope a new cloud/web version is released that solves this.
Hello Glen, cloud prod email syncing should be fully working please feel free to share your email by dm so we can have a look to your workspace
Self-hosting, on 1.11.0, tried deleting account and adding it again, still stuck on 'Importing' without really doing anything. This is what I see in the logs (1/2):
Error: Not Found exception occurred while fetching message list, which should never happen
2025-11-17T12:32:00.316740479Z at MessageImportExceptionHandlerService.handleNotFoundException (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/services/messaging-import-exception-handler.service.js:159:17)
2025-11-17T12:32:00.316742875Z at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
2025-11-17T12:32:00.316744926Z at async MessageImportExceptionHandlerService.handleDriverException (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/services/messaging-import-exception-handler.service.js:57:21)
2025-11-17T12:32:00.316747326Z at async MessagingMessageListFetchService.processMessageListFetch (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/services/messaging-message-list-fetch.service.js:150:13)
2025-11-17T12:32:00.316750028Z at async MessagingMessageListFetchJob.handle (/app/packages/twenty-server/dist/src/modules/messaging/message-import-manager/jobs/messaging-message-list-fetch.job.js:68:21)
2025-11-17T12:32:00.316752185Z at async MessageQueueExplorer.invokeProcessMethods (/app/packages/twenty-server/dist/src/engine/core-modules/message-queue/message-queue.explorer.js:113:17)
2025-11-17T12:32:00.316754389Z at async MessageQueueExplorer.handleProcessor (/app/packages/twenty-server/dist/src/engine/core-modules/message-queue/message-queue.explorer.js:104:13)
(2/2)
2025-11-17T12:32:00.316756513Z at async /app/packages/twenty-server/dist/src/engine/core-modules/message-queue/message-queue.explorer.js:79:17
2025-11-17T12:32:00.316758560Z at async Worker.processFn (/app/packages/twenty-server/dist/src/engine/core-modules/message-queue/drivers/bullmq.driver.js:46:13)
2025-11-17T12:32:00.316760571Z at async /app/node_modules/bullmq/dist/cjs/classes/worker.js:520:32
2025-11-17T12:32:00.316762446Z
Turn on message folders control from "Labs" page
It is on.
and make sure atleast 1 folder is marked for sync
Two folders are marked, Inbox and Sent Items
And both exist
and your import policy is to set to
Selected Folders?It it set to 'Some folders', yes.
Auto-creation is set to None.
Changing auto-creation also does not help.
I think I know what's going on...
When I look at the messageFolders belonging to my account in the database, "Conversation History" has no externalId or messageChannelId - no idea why, and it's not supposed to be syncing anyway. I can access all externalFolderIds manually using curl and the accessToken from the database, but of course, the empty externalId will mess up things.
The fallback is to try to use the folder name, which apparently isn't supported by graph.
I'll try and see if I can work around it...
Well, I was able to manually set the missing externalIds for my account, but then the same error occurs on another. I've been trying to patch the .js files in my worker to skip when the externalId is not valid and log what's going but no luck so far.
I was able to patch myself out of the exception stuff, but ten there's also this that I guess is unfortunate:
messageChannelId: c7a9a0a9-6ca5-4d32-a49d-f53f87cbf9e5 Skipping message list fetch due to pending group emails action: GROUP_EMAILS_IMPORT
Must have been some stale GROUP_EMAILS_IMPORT due to the previous issue. Clearing the job queue and clearing the flag in the database got the import going again.
@El Odve yes, this is patched in v1.12
Great!