Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How can I download all the messages from a Gmail account, including the Sent folder items, when a normal POP fetch will only grab the inbox items?

My wife recently died, and she gave me access to her Gmail account. While I'm not sure whether or not I want to read the messages in there, I do want to make a backup copy of both the sent and received messages. Ideally, the backup copy would be accessible to me offline, though this is not strictly necessary.

I could grab the inbox via POP3, but that wouldn't get me the sent messages. I have desktops running Windows, Mac OS X, and Linux.

I have legal access to the account and I'm not interested in any future emails, only in the current state of her inbox.

share|improve this question
    
In any case, depending on the amount of mails, you might need to wait for quite a bit, since – if I recall correctly – the download rate is limited after a number of messages. –  slhck Feb 8 '12 at 14:54
    
Thanks. There are a few thousand messages, but it's not a problem if it takes a while to download. –  ChrisInEdmonton Feb 8 '12 at 15:02
164  
Allow me to pass along our collective condolences. I cannot imagine... –  uSlackr Feb 8 '12 at 16:02
13  
I second uSlackers comment, I too could not imagine my life without my wife. My deepest condolences to you. –  Paperlantern Feb 8 '12 at 17:51
19  
Thank you, everyone. It does indeed suck. I'll refrain from commenting further as superuser isn't a chat forum, but I appreciate all your help and comments. –  ChrisInEdmonton Feb 8 '12 at 19:54

8 Answers 8

up vote 74 down vote accepted

You can setup an email client to download the entire contents of the account including sent mails if you configure IMAP access. The following settings work for me in Thunderbird although you can probably use any standard email client that you prefer.

Server: imap.googlemail.com or imap.gmail.com
Port: 993
Security: SSL/TLS
Authentication: Normal Password

Once you have downloaded the contents of the inbox you can then save and backup the contents of that mailbox by using the appropriate feature in the email client.

You will also want to check Settings->Labels and ensure all labels have "Show in IMAP" selected (by default, Chats are not).

Good luck to you and sorry for your loss.

share|improve this answer
1  
All were good answers, but this one specifically listed settings in Thunderbird which would work, so I'm accepting this one. Thanks. –  ChrisInEdmonton Feb 8 '12 at 15:02
18  
Chris, I'm very sorry for your loss. If you choose IMAP, please make sure that you download the full message content and not just the headers. Some IMAP clients download the headers only by default, and in this case, the emails will not be properly backed up. Here is information for Thunderbird: kb.mozillazine.org/Offline_folders –  Sarah Price Feb 9 '12 at 0:57

Use IMAP4, it will allow browsing messages directly on the server, as well as copying them out. Practically any desktop IMAP client will allow you to mark all messages and drag them into a local folder, or into your IMAP mailbox. (At various occassions I've tested Thunderbird, Evolution, mutt, Windows [Live] Mail, Outlook, Eudora, and Outlook Express.)

Batch downloads can be done using getmail or OfflineIMAP, on Linux or OS X.

(By the way, the custom POP3 server used by Gmail does, in fact, include sent messages, although it has other limits.)

share|improve this answer

The best method would probably be to set up Gmail to allow IMAP access, then download everything with an IMAP client. Via IMAP you can see all messages, both sent and received.

share|improve this answer

First, my condolences.

As everyone has (correctly) said, you want to use IMAP.

For backup, I'd personally use a non-GUI email client though. This will make it easier to backup. And with IMAP, you can still use other clients, like Thunderbird, if you want them to be easier to read.

If I was in your situation, I'd use Fetchmail on Cygwin. Luckily enough, there is already written a tutorial for this at Lifehacker.

share|improve this answer

I'm very sorry to hear about your wife.

I just wanted to add, you might want to download other data other than Gmail, if she used other Google services. See the "Google Takeout" project here:

https://www.google.com/takeout/

MakeUseOf just happened to post a tutorial on Google Takeout and IMAP backups recently.

share|improve this answer
    
Thank you! She didn't use other google services as far as I know, but I'll definitely check that out. And it will be a useful link for others in a similar situation, I'm sure. –  ChrisInEdmonton Feb 8 '12 at 19:53

This does not apply to free Gmail accounts, but is worth mentioning for Google Apps accounts (the paid kind):

The Google Apps Email Audit API lets you request a GPG encrypted export in mbox* format of a complete user mailbox or a partial export by date or search query. There's a command line tool called gam, which makes this as easy as:

gam audit export request <user>                  # returns a request_id
gam audit export status                          # until status = COMPLETE
gam audit export download <user> <request_id>

You'll also need to generate and upload a GPG key to Google Apps prior to this (and decrypt the downloaded files with this key afterwards).

* Supported by almost all email clients

share|improve this answer

Thunderbird and Evolution has very good IMAP support. imapcopy for linux will enable you to backup the data in another IMAP account. you can label all the email from another account using filters.

P.S.: if you don't know how to use the software, http://www.howtoforge.com/how-to-migrate-mailboxes-between-imap-servers-with-imapcopy

share|improve this answer
    
Thank you, an interesting approach. –  ChrisInEdmonton Feb 9 '12 at 14:51
    
you could take a look at teamflawless.org/2012/installing-and-using-imapsync-on-ubuntu . imapsync seems to work for me on migrating one account to another –  Quamis Dec 9 '13 at 12:52

You may want to take a look at MailStore Home (completely free for personal usage). You can backup emails from nearly every account in one single application. See http://www.mailstore.com/en/mailstore-home.aspx

share|improve this answer
    
Sorry if this is a newbie question, but the FAQ didn't tell me: why is my answer voted down? Was it to short, not helpful (why?). Or because i answered a question for which another answer was already accepted? My answer itself i still believe to be helpful for other user having the same problem as Chris –  ssc Feb 10 '12 at 13:59
    
your answer was marked as spam by community members, hence the auto downvote and deletion. Sorry about that, Super User gets a lot of spam, and sometimes false positives happen. My apologies. Perhaps it would be worthwhile mentioning that you're not affiliated to the product to prevent such a thing. Once again, I apologize & welcome to Super User! –  Sathya Mar 2 '12 at 19:08

protected by random Feb 10 '12 at 14:03

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.