News for hackers. Stuff that matters.
Re:Google Takeout: Download your data from Picasa, Contacts,... by albertzeyer on Tuesday June 28, 2011 @05:36PM (#2707440)
Afaik, not really. Mails in GMail are not represented in a hierarchical tree structure and thus don't directly match the IMAP protocol.
Re:Google Takeout: Download your data from Picasa, Contacts,... by ammmir on Tuesday June 28, 2011 @07:43PM (#2707846)
IMAP 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.
Re:Google Takeout: Download your data from Picasa, Contacts,... by albertzeyer on Tuesday June 28, 2011 @08:00PM (#2707883)
I 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.
Re:Google Takeout: Download your data from Picasa, Contacts,... by thwarted on Wednesday June 29, 2011 @12:28AM (#2708394)
So only download the All Mail folder into a single mbox.
Re:Google Takeout: Download your data from Picasa, Contacts,... by albertzeyer on Wednesday June 29, 2011 @07:16AM (#2709056)
Then you miss the tagging information.
Re:Google Takeout: Download your data from Picasa, Contacts,... by pyre on Tuesday June 28, 2011 @07:29PM (#2707807)
I'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.