Skip to content

[_]: feat/improved email pagination using anchor-based fetching#35

Draft
xabg2 wants to merge 3 commits intomasterfrom
feature/pagination
Draft

[_]: feat/improved email pagination using anchor-based fetching#35
xabg2 wants to merge 3 commits intomasterfrom
feature/pagination

Conversation

@xabg2
Copy link
Copy Markdown
Contributor

@xabg2 xabg2 commented Mar 31, 2026

This PR enhances the email listing pagination by introducing an anchor-based approach. Instead of relying on a fixed batch size (e.g., 20 items), the system now uses the ID of the last retrieved email as a reference point (anchor) to fetch the next set of results.

With this change, pagination becomes more dynamic and efficient, allowing the system to retrieve emails starting from the most recently received ones without depending on static limits. This improves scalability and ensures more accurate and up-to-date data retrieval.

@xabg2 xabg2 requested a review from larryrider March 31, 2026 08:14
@xabg2 xabg2 self-assigned this Mar 31, 2026
@xabg2 xabg2 added the enhancement New feature or request label Mar 31, 2026
@sonarqubecloud
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant