Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Are there some command line tools (or libraries) out there to access a gmail account, e.g. to read unread messages, download messages, etc.?

share|improve this question
add comment

5 Answers 5

up vote 1 down vote accepted

If you like Vim there is a gem called Vmail. The cool thing about Vmail is that its keybindings are similar to Gmail's keyboard shortcuts. So for instance, to archive a message in Gmail you type e. In Vmail you type ,e.

share|improve this answer
    
Yay, vim! Discovered it already a few weeks back; thanks for completing the list here! –  miku Feb 17 '11 at 10:22
add comment

Simply use the IMAP- or POP3-protocol and a client or library to access the emails.

share|improve this answer
add comment

The Google Command Line Tool might provide such support in the future. Right now it is limited to Blogger, Calendar, Contacts, Docs, Picasa and Youtube.

http://google-opensource.blogspot.com/2010/06/introducing-google-command-line-tool.html
http://code.google.com/p/googlecl/

share|improve this answer
add comment

You can do this using Postfix and Fetchmail. See here: http://souptonuts.sourceforge.net/postfix_tutorial.html

share|improve this answer
add comment

You've got two questions here.

  1. Are there libraries? Yup - but you'll want to mention a programming language of choice. All of them have some library associated for interacting with the google suite.

  2. Are there command line tools? Yup. You can use good old Mutt or Pine. I've also heard good things about Sup and it seems to be oriented towards gmail style usage.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.