Inbox pagination

Implements feature request: #176