Returns all the UIDs from the current $::MKD_IMAP object, most recent first.
Splits $uid_array into a list of 'slices' containing $per_page message each.
Each element of the resulting array looks like this:
{
number => <index in the array + 1>,
thickness => $per_page,
uids => <array refs of UIDs for this slice>
current => <TRUE if 'number' is the same as $current>
}
Using the UIDs defined whitin this particular slice, loads all the corresponding messages and threads them properly. Returns the top thread messages.
Returns the parsed headers for the message $uid.