Unlike described here, the list-folders endpoint does not return all folders, but only the first 50. With the nylas-java sdk it is not possible to use the cursor returned by the endpoint to fetch the next entries, so you cannot access any folders other than these first 50.