Running the script ```perl mork.pl Europe.msf | less``` I'm seeing 65 total messages listed. There are several that DON'T show the ```Offline``` flag, e.g., messages starting with these subjects/ID in hex: ```Your Mery``` 3C ```pronounce``` 2F ```taxi``` 2A ```BECU``` 29 and many more... So it's not just the corrupted message that doesn't have Offline flag. My *guess* is that messages that don't have the offline flag are actually copied from another folder (have two or more gmail labels) and they are stored in the original mbox file and have the offline flag in the .msf for the original folder. I think TB may have the capability to do this for gmail to avoid redundant storage, but not sure since I haven't look at this for a while.
Bug 1920329 Comment 36 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Running the script ```perl mork.pl Europe.msf | less``` I'm seeing 65 total messages listed. There are several that DON'T show the ```Offline``` flag, e.g., messages starting with these subjects/ID in hex: ```Your Mery``` 3C ```pronounce``` 2F ```taxi``` 2A ```BECU``` 29 and many more... So it's not just the corrupted message that doesn't have Offline flag. My *guess* is that messages that don't have the offline flag are actually copied from another folder (have two or more gmail labels) and they are stored in the original mbox file and have the offline flag in the .msf for the original folder. I think TB may have the capability to do this for gmail to avoid redundant storage, but not sure since I haven't look at this for a while. Edit: It looks like messages w/o Offline flag have header X-GM-LABELS = "Sent". So their storage is (probably) in Sent mbox. So these messages were probably copied from Sent folder to Europe folder. Messages with Offline flag either have empty X-GM-LABELS or X-GM-LABELS = Important, meaning they were *moved" to Europe and some marked as Important, so .msf for Important folder probably won't show Offline flag for these messages. (I haven't checked all 65 messages in Europe or, of course, messages in Important.) FYI, The gmail storage code for this is here: https://searchfox.org/comm-central/rev/baf16c6abe64da64aefd3fde531986b8af0d76d5/mailnews/imap/src/nsImapMailFolder.cpp#8907