Written by Richard Jones, you can mount GMail into Linux, with many Unix commands to communicate with. It gives you a lot of space around 2 Gigabytes. You'll need to have libmail and FUBE, but to download those, go directly to the article for all of the instructions. It's really nice and Gmail is one of the best email service providers out there so give it a shot.
Read it here