On Saturday, 12 July 2025, George Gutman via Alpine-info <<a href="mailto:alpine-info@u.washington.edu">alpine-info@u.washington.edu</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Is there any other way to export Gmail folders into Mbox format than Google's Takeout? Using Takeout the resulting Mbox files show a very different number of messages than the original Gmail folders, and they will not sort by the date they show (which is my Alpine setting). There is something very wrong with these files. I had asked this earlier but got distracted from responses.</div></div></blockquote><div><br></div><div>You can pull down email via IMAP, this is probably easier using a syncing tool but even Alpine can do this itself.  You'd have to leave it for a while, but it should be possible to select all and save into another location for each folder (label).</div><div><br></div><div>I use offlineimap which writes out as Maildir format, and my Alpine is patched for Maildir support.  But I'm pretty sure this is trivially convertible and I also think there are other syncing tools that should be able to write in mbox format, although xoauth2, might be a bit of a hindrance.</div><div><br></div><div> - Damion</div><br><br>-- <br>Damion Yates - <a href="mailto:damion.yates@gmail.com">damion.yates@gmail.com</a><br>London, England<br>