Here’s a good post on how to do that.  He references a freeware utility called IMAP Size.  I haven’t given this a shot yet, will do so one of these days:)