Trying to fetch emails that fall outside an applications sync boundaries or looking to retrieve emails during a period when your webhooks failed.
If the object fall outside the sync boundary then you will need to build a query to retrieve the objects created during the window in question. Example using messages endpoint:
/messages?received_before=4500032&received_after=4400032&limit=20&offset=19
Once you have a list of messages you can retrieve the individual messages and ingest them.
Objects not synced by Nylas are fetched directly from the provider, there can be a considerable delay in this. You will need to test what limit works within the timeouts of the Nylas API 120 seconds.
If the objects are within the sync boundary and less than 30 days old you can use Delta's
Updated
Comments
0 comments
Please sign in to leave a comment.