imap_sort is very slow, if got a mailbox with about 400 mail and it takes more than 5 seconds. how can i improve that speed?
i mean a function that just doesnt get all mesage headers, this number should be customizable..