4 Replies - 1305 Views - Last Post: 05 December 2013 - 10:43 PM

#1 code_m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 24
  • View blog
  • Posts: 202
  • Joined: 21-April 09

Gmail API? - Researching Automation Idea

Posted 04 December 2013 - 05:03 PM

I just picked up a new part-time job and would like to impress the boss by automating a simple task.

The first thing I need to figure out is what gmail API to use. I simply want to compose a few e-mails based on a database query.

What API should I use?

(Language is not really a concern, python would be great though). I have done some research myself, but this is not as obvious as I had hoped.

Is This A Good Question/Topic? 0
  • +

Replies To: Gmail API? - Researching Automation Idea

#2 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7727
  • View blog
  • Posts: 13,052
  • Joined: 19-March 11

Re: Gmail API? - Researching Automation Idea

Posted 04 December 2013 - 05:12 PM

Try python's email and smtplib libraries.

There are endless tutorials out there about sending email via python, and many of them use gmail as the example - let google help you on this one.
Was This Post Helpful? 1
  • +
  • -

#3 code_m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 24
  • View blog
  • Posts: 202
  • Joined: 21-April 09

Re: Gmail API? - Researching Automation Idea

Posted 04 December 2013 - 05:34 PM

Thank you jon.kiparsky. I will check that out. Forgot to check the python built-in libraries, guess I should have assumed that was a thing :)
Was This Post Helpful? 1
  • +
  • -

#4 code_m  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 24
  • View blog
  • Posts: 202
  • Joined: 21-April 09

Re: Gmail API? - Researching Automation Idea

Posted 05 December 2013 - 10:16 PM

Update: smtplib will most definitely fill the need. :)

Here's hoping accessing the database with go just as smoothly!
Was This Post Helpful? 1
  • +
  • -

#5 jon.kiparsky  Icon User is online

  • Pancakes!
  • member icon


Reputation: 7727
  • View blog
  • Posts: 13,052
  • Joined: 19-March 11

Re: Gmail API? - Researching Automation Idea

Posted 05 December 2013 - 10:43 PM

Glad that worked. Good luck with your project!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1