Added large thread limit setting [labs.imap_large_thread_limit = 100] (Closes #339)