Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

closed as off-topic by Al E., serenesat, Alex, Meta, jonsca Feb 15 at 23:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking for us to recommend or find a Web Application are off-topic and out of scope, as they tend to attract opinionated answers and spam. However, your question may be on topic at Software Recommendations if you can rewrite it so that it meets their quality guidelines" – Al E., serenesat, Alex, Meta, jonsca
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 2 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

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

share|improve this answer

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

share|improve this answer

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

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

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