We want to be able to retrieve only limited amount of Items from a Collection with the ItemFetchJob. This would likely involve extending the ItemFetchJob API to allow callers to specify how many Items they want to receive, extending the Akonadi protocol (by modifying the protocol.xml file) to allow sending the limit to the server as part of the command, and then adjusting the SQL queries in FetchHelper in the Akonadi server to actually honor the limit.
The last part may be a little tricky because of the way the queries are created, but in the worst case we query more than we need and just throw part of the results away.