{"type":"video","version":"1.0","html":"<iframe src=\"https://www.loom.com/embed/b3952c548c2c41fa941c9d246b7f95d3\" frameborder=\"0\" width=\"1908\" height=\"1431\" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>","height":1431,"width":1908,"provider_name":"Loom","provider_url":"https://www.loom.com","thumbnail_height":1431,"thumbnail_width":1908,"thumbnail_url":"https://cdn.loom.com/sessions/thumbnails/b3952c548c2c41fa941c9d246b7f95d3-f959ec1c629572f6.gif","duration":231.663,"title":"Setting Up OAuth for Gmail API Integration","description":"In this video, I walk you through the setup process for OAuth with the Gmail API, which I find to be the trickiest part. I demonstrate how to enable the Gmail API in the Google console, create credentials, and obtain the client ID and client secret. I also explain how to get the refresh token using the OAuth Playground, where you need to input your client ID and secret, and set the scope to mail.google.com. Make sure to add your Gmail as a tester if you encounter verification issues. Finally, I mention that I've included a Postman collection for testing the APIs, so please check that out."}