Ask HN: What have you built with the Gmail API?
Has anyone built anything with it & how did you find it?
Has anyone built anything with it & how did you find it?
I used the API to go through all of the emails we've received from each client and looked for patterns on date/time of send.
Using that data we get much better response rates by sending emails just before the time when the client will likely be working on email (i.e. the email we send is most likely to be at/near the top of their inbox when they sit down to their computer).
A user would fill out a Google Form, which would send an email to a specific Gmail account when the user submits the form. An automated process would scrape the Gmail account every 5 minutes looking for unread emails containing setup requests. The process would then create a new drive folder and share it with the users specified in the onboarding request. Then, generated reports would be emailed to the same email referencing the newly created folder. The automated process would download the reports, upload them into the shared folder, and send the users who can access the folder an email notifying them that a new set of reports is available.
I had a lot of fun using the Google APIs! I played around with translating the reports into a Google Sheet as well.
It's a small code hosted on github : https://github.com/himanshujaju/uber-monthly-expense