Filter ImapThread by namespace in generic Imap threading algorithm.