Google has now made IMAP an available option for their gMail account holders. Now you can synchronize it with a desktop mail client like OS X’s Mail. This is especially nice for folks who travel and would like to have their mail folders available via Mail wherever they go.
Google has created extensive help pages for setting up IMAP with several different mail clients. Check it out here: IMAP Access