[ CCode ( type_id = "camel_folder_thread_get_type ()" ) ]
public class FolderThread : Object
Message threading / conversation grouping.
FolderThread computes conversation threads from a list of messages in a folder, based on the In-Reply-To and References headers as described by Jamie Zawinski's threading algorithm (used by Netscape 3 Mail).
Because threading operates on pre-computed hashes from MessageInfo rather than parsing raw message content, it is very fast.
The result is a tree of FolderThreadNode structures accessible via the `tree` field of the FolderThread object. Each node carries a pointer to its MessageInfo and links to its parent, next sibling, and first child, making it straightforward to build a tree-view model.
An optional subject-based fallback algorithm can be enabled (by passing `thread_subject = TRUE` to FolderThread) to find conversation parts when In-Reply-To / References headers are absent, by matching "Re: " prefixes on subject lines.