KartikTalwar / gmail.js

Gmail JavaScript API
MIT License
3.74k stars 455 forks source link

What is the benefits of using this lib vs using official gmail api? #740

Closed codeyourwayup closed 11 months ago

codeyourwayup commented 1 year ago

Pls share your thoughts.

josteink commented 1 year ago

Benefits of the official API:

cons:

If those conditions sounds good to you, the official API is probably the best.

The benefits of this lib:

It comes with a few cons:

They both have their uses. Gmail.js was made long before Gmail had anywhere a usable API. If the official API today can be used to cover your needs, you should probably go for that.

stevepeak commented 1 year ago

@josteink Thank you for your thoughts. I have looked over the official Gmail API, I presume the REST API, but I could not find anything concerning UI-integration/extension that is officially supported by Google. Can you reference a resource if you are aware of one? Thank you!

josteink commented 1 year ago

I'm thinking about this platform:

https://www.blog.google/products/g-suite/do-more-your-inbox-gmail-add-ons/

I must admit I haven't looked at it in years, so not sure if this is what's currently supported/promoted by Google.