twenty
twenty copied to clipboard
Create a custom resolver to call do a full gmail sync after creating a connected account
Scope & Context
We need to do a full sync the first time we import emails.
Technical inputs
Create a custom Nest.js resolver to call do a full gmail sync after creating a connected account by calling the service fetch-workspace-messages.service. At the moment the service is called inside a command but we need to execute it at the connected account creation.