https://github.com/contractor-x/gmail-bot
A simple program that uses the Google mail services to send and receive mail
https://github.com/contractor-x/gmail-bot
gmail gmail-api gmail-smtp google python student-project
Last synced: 6 months ago
JSON representation
A simple program that uses the Google mail services to send and receive mail
- Host: GitHub
- URL: https://github.com/contractor-x/gmail-bot
- Owner: Contractor-x
- Created: 2025-01-22T23:20:07.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-17T01:02:59.000Z (7 months ago)
- Last Synced: 2025-03-24T20:36:45.830Z (6 months ago)
- Topics: gmail, gmail-api, gmail-smtp, google, python, student-project
- Language: Python
- Homepage:
- Size: 64.5 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Google Mail API Prototype
This is a **novice-level program** that utilizes the **Google Mail API** to send emails from a **sender's address** to a **recipient's address**.
---
## **About This Project**
This project demonstrates how to integrate the **Google Mail API** to send emails programmatically. It serves as a **prototype**, and the final version with enhanced functionality will be released soon.🔹 **Ensure to replace the placeholder details** with your actual sender and recipient email addresses before running the program.
---
## **Features**
✅ Uses the **Google Mail API** to send emails
✅ Simple and beginner-friendly implementation
✅ Provides a foundation for future enhancements
✅ Secure authentication using OAuth 2.0---
## **How to Use**
### **Set Up Google Mail API**
1. Enable the **Gmail API** in your **Google Cloud Console**.
2. Obtain **OAuth 2.0 credentials**.
3. Install the required Python packages:
```sh
pip install --upgrade google-auth google-auth-oauthlib google-auth-httplib2 google-api-python-client
```### ** Run the Program**
```sh
python gmail bot2.py
```---
## **Project Structure**
```
Gmail API Project
│── gmail 2.py # Main program for sending emails.
│── README.md # Project documentation..
```## **📜 License**
This project is open-source and available under the **MIT License**.