You can't just configure mutt (or alpine, et al.) to use Gmail?