Sorts out paginator for emails