Getting Started with Gmail API in Python (For Beginners)

preview_player
Показать описание
Using Google Gmail API, we can read and send messages, manage drafts and attachments, search threads and messages, work with labels, setup push notifications, and manage Gmail settings.

In this tutorial, I will walk you through 1) how to enable Google Gmail API service and 2) create a Python program to get the authenticated user email address (this is how most of websites use to authenticate a user's credential via Gmail service).

Buy Me a Coffee? Your support is much appreciated!
----------------------------------------------------------------------------------------------------------------
Venmo: @Jie-Jenn

Check out Kit →

Support my channel so I can continue making free contents
----------------------------------------------------------------------------------------------------------------

#GmailAPI #Python
Рекомендации по теме
Комментарии
Автор

ModuleNotFoundError: No module named 'google_auth_oauthlib'

I dig in everywhere but can't find a solution, can't run the script. Any advice?

alejocapovilla
Автор

Is this video outdated or just different for different types of users (maybe business vs personal email)? I see a different prerequisite which is "A Google Cloud Platform project with the API enabled. To create a project and enable an API, refer to Create a project and enable the API"

CaspersCuts
Автор

Alert said Import Google could not be resolved. how can I solve this issue?

tasstanley
Автор

Hi man excuse me, im new in APIs, i have a question where exactly or in what moment did you installed that Google Module at the 6:20?

aka_bearz
Автор

Can u make more gmail api programs O: ??

robblock
Автор

Thanks for this video and your others. They're really useful so keep it up!

stratascratch
Автор

I'm Getting this error message, can you suggest where exactly am I making mistake

"You can’t sign in because Automation Script sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error
If you are a developer of Automation Script, see error details.
Error 400: redirect_uri_mismatch"

sunnybiswas
Автор

i got this erorr
Error 400: redirect_uri_mismatch

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the redirect URI in the Google Cloud Console.

jomarreycallano
Автор

In order to work do we have to frist set up the Google OAuth consent screen ?

izoka
Автор

Hi, I am new to APIs and python, I am not too sure why I am unable to run the dir function. It tells me that it is unable to find the path, do you know what is the problem?

giovannalim
Автор

Thanks for this video! It is really useful. I am trying to include this python function (which works correctly in local environment) as a cloud function but I think there's a problem when using the function run_local_server()... Is it possible to do this in Google Cloud Functions environment?? Thanks!

ceciliasiliato
Автор

sooo how I'm gonna operate on other users???

berkcan