6 ms·
Afaik, not really. Mails in GMail are not represented in a hierarchical tree structure and thus don't directly match the IMAP protocol.
by albertzeyer 15y ago
Afaik, not really. Mails in GMail are not represented in a hierarchical tree structure and thus don't directly match the IMAP protocol.
- pyre 15y agoI'm confused. How does a single large mbox file of all emails in a GMail account map directly to GMail's structure? That's the the OP was asking for.
- ammmir 15y agoIMAP can be used to download the raw message bodies. hierarchical structure (aka threading) comes from the parsing of Message-ID, References, In-Reply-To MIME headers contained in the bodies.
- albertzeyer 15y agoI mean directories. GMails IMAP interface maps each tag to a directory but that is not exactly the same. Esp. when your extracting algorithm doesn't know about this, you end up with a lot of duplicates.
- thwarted 15y agoSo only download the All Mail folder into a single mbox.
- albertzeyer 15y agoThen you miss the tagging information.