Google Blogoscoped

Forum

Gmail access via Python

Phil [PersonRank 0]

Thursday, July 1, 2004
20 years ago

Hi,

In case anybody's interested, I've just developed a Python script that enables basic programmatic access to retrieving Gmail mail messages. I've put it in a Usenet posting (titled "[ANN] libgmail 0.0.1 – Gmail access via Python") to comp.lang.python until I find a home for it.

Since Philipp was nice enough to give me an invite I thought I'd mention it here. (Well, okay, so it's any excuse for a plug...)

Ensure you understand the Google terms of service before use.

--Phil.

Philipp Lenssen [PersonRank 10]

20 years ago #

I think here's the link :)

http://groups.google.com/groups?q=ANN%5D+libgmail+0.0.1+%E2%80%93+Gmail+access+via+Python&hl=en&lr=&ie=UTF-8&c2coff=1&safe=off&selm=3c18c08f.0407011159.9243ee1%40posting.google.com&rnum=1

Phil [PersonRank 0]

20 years ago #

Thanks for that.

After sleeping on it I've realised I'm actually only retrieving the conversation threads from the inbox, not all the messages. At present this means you'll get one message from each thread, not all messages.

It looks like for a single message "conversation" the thread id == message id, but not for a mulltiple-message conversation.

At this stage it seems like you have to open a conversation thread to get all the message ids, but I'll look into it.

I'm partway through setting up a SF project too.

--Phil.

Phil [PersonRank 0]

20 years ago #

Just in case anyone's paying attention, this library now has a home here:

   <http://sourceforge.net/projects/libgmail/>

--Phil.

Forum home

Advertisement

 
Blog  |  Forum     more >> Archive | Feed | Google's blogs | About
Advertisement

 

This site unofficially covers Google™ and more with some rights reserved. Join our forum!