GMail backup

After the rumors about locked GMail accounts, decided to backup my important emails. The article How to back up your Gmail on Linux in four easy steps helped me a lot. My setting in ~/.getmail/getmail.gmail are (IMAP, Maildir):

[retriever]
type = SimpleIMAPSSLRetriever
server = imap.gmail.com
username = my_name
password = my_secret
mailboxes = (”personal”,”important”)

[destination]
type = Maildir
path = ~/gmail-archive/

[options]
verbose = 2
message_log = ~/.getmail/gmail.log

The backup itself was done via:

$ getmail -r ~/.getmail/getmail.gmail