- Create new mailbox in Pegasus in Unix mailbox format (instead of the default Pegasus mail format)
- Move desired emails into this new mailbox
- In Windows Explorer find the name of this new mailbox file. It ends with .mbx. (More details in Mozillazine)
- Move the mailbox file into Thunderbird's Local Folders, in your profile directory.
- Start Thunderbird and click on this new folder. This is when the file is actually tidied up.
- Exit Thunderbird.
- Run Google GMail Loader (GML), which processes the mbx file, and sends each email one by one to Gmail.
If you skip the Thunderbird step, then GML complains about the mbx file, though it may still work.