private List<InboxDisplayRecord> getWavesInner() throws IOException {
ImmutableList.Builder<InboxDisplayRecord> out = ImmutableList.builder();
List<UserIndexEntry> waves = userIndex.findWaves(participantId, query, offset, limit);
for (UserIndexEntry wave : waves) {
out.add(new InboxDisplayRecord(
wave.getObjectId(),
// TODO(danilatos): Retrieve contact details if possible and use name not address.
wave.getCreator().getAddress(),
"" + new LocalDate(new Instant(wave.getLastModifiedMillis())),
wave.getTitle().trim(),