How can I backfill emails?

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:


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 



Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request



Please sign in to leave a comment.