google api - How can I access Gmail's native API? -
i access gmail's native api. eg,
- create search folder
- tag messages
- other gmail-specific actions.
there's similar question, question asker seems happy developing contextual gadgets rather accessing user's email.
in before mentions: imap , pop generic, non search based protocols , not provide full access gmail. neither gmail.com, nor of official gmail native apps, use imap , pop.
most webmail services have private, non-imap/pop apis , protocols, eg, hotmail (back when existed used httpmail reverse engineered , implemented hotwayd).
i run android gmail proxy , attempt reverse engineer gmail protocol itself, suspect others have had same need in past , may have solution.
i did find list of client of gmail clients on gmail agent api don't seem maintained past 2004.
android's gmail app using google cloud messaging (gcm) push email messages/notifications , sync phone. think that’s “the api” looking for. bad news is protected.
you can get started free gcm's json rest api , use push messaging projects, forget using gmail in same fashion google does. option getting similar efficiency using imap's idle extension, uses push.
focusing on need, think there decent solutions use cases have listed in question… use google app script or libs gmail python, seems valid option me... gmail python github:
features
- search emails
- read emails
- emails: label, archive, delete, mark read/unread/spam, star
- manage labels
if developing android mobile app gmail public labels api of interest...
hope helps...
edit: google introduced gmail api
Comments
Post a Comment