FeatureFuel
4

Email Webhook Sync on gmail 📨

Source: twentyhq/twenty#3937 · opened by @FelixMalfait
As of today the email sync is done through a cron that runs every 10 minutes.
We'll need to provide immediate sync through webhooks.

We'll start with gmail.

• Create an environment variables to store the topic. Document it in enviroment-variables.mdx. Default value = gmail
• Call the /watch endpoint to subscribe to account upon mailbox connection
• Create an endpoint to receive subscriptions events and import email ([ref](
• Create the [topic](
) and [push subscription]( in our Google Cloud Console
• Setup a cron to renew the /watch API call, configure it to run daily

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests