Gmail Emails Fetcher from a particular user using Python And Gmail API provided by Google.
Make sure to replace path/to/credentials.json
and path/to/token.json
with the actual file paths where you have stored your Gmail API credentials and token, respectively. Also, replace abc@gmail.com
with the email address of the particular user you want to fetch emails from.
To run this code locally:
git clone https://github.com/debjit-mandal/gmail-fetcher
cd gmail-fetcher
python main.py
Feel free to modify the code further to suit your specific requirements or perform additional operations with the fetched emails.