Hacker News new | ask | show | jobs
by ShamelessC 938 days ago
Is that the sort of thing they would actually let you publish? Seems like inexperienced users might wind up really screwing up their inbox.
2 comments

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