Midway while typing this post, I did a search and boom: http://news.ycombinator.com/item?id=3581613
Midway while typing this post, I did a search and boom: http://news.ycombinator.com/item?id=3581613
I used it to move mail to gmail quite a while ago since I was tired of having mail, calendar and contacts in different places.
I use Thunderbird + IMAP to sync a local copy of my Gmail email every week or two.
It does not sync anything except your email, but even that much is pretty nice, for peace of mind.
Also, is the formatting (rtf) preserved?
One hacky-but-straightforward way to do this would be to take advantage of an email<->filesystem translation like NMH or MBox, and then write some script that would automatically purge the attachments before archiving.
You'd still have to download the attachments, I believe; I could be wrong, but I don't think IMAP will let you get around that easily.
(To be fair, Gmail's implementation doesn't adhere to IMAP very well in my experience - labels/folders/tags are a major problem - so YMMV).