Add script to fix mis-threaded messages for generic IMAP.