Pagination was breaking new mail indexing, because it doesn't use pages
Created a way to search all mails with no pagination for indexing
Pep8 fixes