TwentyT
Twenty16mo ago
1 reply
[777]Dr00p$

Email syncing with serverless integration

Hey everyone !
I'd like to self host my own twenty version on railway - seems easier for us.

We deployed through the nice dockerfile (thanks a lot) - the one for server, located under /twenty in the docker section.

We also set up the right gmail app for our org.

However, it seems like the railway app cannot itself retrieve the emails (make sense, it's serverless).
Is there a way to make it work ?

I tried with the same env variables than the railway app, but on my laptop to launch

npx nx run twenty-server:worker and then the 3 commands (npx nx run twenty-server:command cron:messaging:gmail-message-list-fetch , ...)

Which did not get the emails, (tho i get [Nest] 260 - 10/19/2024, 5:30:01 PM LOG [MessagingMessageListFetchJob] Fetching full message list for workspace ca187826-3748-4905-a504-d20973a6ab6c and account e9776516-c6d7-48a7-8c38-c635450f54eb) but gets a sync error in the twenty app.

Do you have any solution ?
Was this page helpful?