Hello,
I am building a custom dashboard to display the latest emails from the pipe. I understand there is an API endpoint called inbox_email, but I do not see many parameters available for configuration. Therefore, I believe I need to integrate the inbox_email endpoint with other API endpoints to retrieve the information I need.
- If, for example, a card has 50 emails and I use the inbox_email endpoint, will it display all 50 emails, or is there a way to limit the results to only the most recent ones? If it retrieves all 50 emails, does that mean it will consume 50 API calls or just one?
- Our system is not very busy, so it is not necessary to create a cron job to pull these records at regular intervals. Is there a way to configure the API, perhaps using webhooks, so that the API is only triggered when a new email arrives?
The dashboard should display the latest emails, ideally those received within the past 24 hours. Any ideas or guidance would be appreciated.