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
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.
Comments
Similar requests
Append the sender's email signature to outbound emails
7 votes · 0 comments
Attach an email to a person
3 votes · 0 comments
Would an Inbox Zero × Twenty integration be useful?
2 votes · 0 comments
Synced messages only store a plain-text extract; HTML-only emails end up empty or truncated
2 votes · 0 comments
Per-email threads visibility toggle (shared / private)
6 votes · 0 comments
No comments yet.