Backing up from gmail

I use imap2maildir as follows:

$ ./imap2maildir -u USERNAME  -d ~/gmail --create -r "[Google Mail]/All Mail"

Note that this is for gmail UK (formerly google mail). I believe the folder name for gmail US is something other than [Google Mail].