Hacker News new | ask | show | jobs
by fassssst 934 days ago
I haven’t done much with it yet but it’s fun to play with.

So far one thing that was nice is “look up the tracking number for the thing I just bought”

I’ll probably play around with Bard’s gmail integration to find more use cases.

3 comments

Is that the sort of thing they would actually let you publish? Seems like inexperienced users might wind up really screwing up their inbox.
You pass an open api spec on creation. You can remove all methods you fear may be risky, and leave it enough so that he can read your emails or calendar, if you feel comfortable with that
OpenAI would probably let you publish it (they have no review process today) but Google probably wouldn’t.

I don’t care though because I’m making these for myself.

mind sharing the code? just for curiosity. keen to improve my email productivity.
The crazy thing is there is no code! The instructions are just “you are a helpful email assistant. You search the user’s gmail in response to their questions” and you just paste in the OpenAPI spec and OAuth details for gmail into the GPT maker form. I asked GPT-4 to write the OpenAPI spec for the gmail API’s necessary to search my inbox.
ahhh i assumed there was some custom coding required for the OpenAPI spec
How did you give it access to your inbox? Does it use the Code Interpreter with the Gmail API, and ask for your credentials, or something?
GPTs support OAuth and tokens, it just asks you to sign in the first time you use it.
Why do you need gpt to find the tracking number? Gmail has pulled out tracking numbers in emails for years.
You can use it as part of a larger query. Like “look up my tracking numbers and render them in a table with delivery date and current location” or “plot them on a map” or whatever.