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
14 votes · 0 comments
Feature Request: Labelled/Tagged multi-email fields OR extend email tracking to custom email fields
1 vote · 0 comments
Retrieve available contact photos when email sync creates People
1 vote · 0 comments
Attach an email to a person
3 votes · 0 comments
Would an Inbox Zero × Twenty integration be useful?
2 votes · 0 comments
No comments yet.