https://github.com/prabin-acharya/mail-gmail
mail-Gmail loads user's Gmail inbox and presents it in a cluster-free web view.
https://github.com/prabin-acharya/mail-gmail
django gmail gmail-api javascript python
Last synced: 2 months ago
JSON representation
mail-Gmail loads user's Gmail inbox and presents it in a cluster-free web view.
- Host: GitHub
- URL: https://github.com/prabin-acharya/mail-gmail
- Owner: prabin-acharya
- License: mit
- Created: 2021-06-23T12:34:08.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-07-03T04:49:30.000Z (about 5 years ago)
- Last Synced: 2025-02-09T19:43:39.308Z (over 1 year ago)
- Topics: django, gmail, gmail-api, javascript, python
- Language: Python
- Homepage:
- Size: 847 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mail-Gmail
mail-Gmail loads user's Gmail inbox and presents it in a web view.
Displays all of user's unread emails, sent emails and allows them to send and reply to emails using Gmail RESTful API.
I had the idea about this project when working on my another project [mail](https://github.com/prabin-acharya/mail) where users can Sign in and send emails among users.
## Setup
Before working on this repository, you have to set up a project on [Google Console](https://console.cloud.google.com/). I have written an article about it for Gmail API. You can refer to that [here](https://dev.to/pra6in).
After that,
Clone this repository.
```bash
git clone https://github.com/prabin-acharya/mail-Gmail
cd mail-Gmail
```
Install dependencies:
```bash
pip install -r requirements.txt
```
Run the development server:
```bash
python manage.py runserver
```
When you run the application for the first time you have to authorize access to your data and give permission to access and modify emails. This creates a new file "token.json" in your repo.
:no_entry:**Security** : Do not push or share "credentials.json" or "token.json" files. Major security issues.
## Features
### Inbox
Lists all of the user's unread emails. Viewed emails are muted. "Sent": lists all of users sent emails.

### Mail
When clicked on an email, it displays its details. Users can reply to the mail or Mark it as read.

### Compose
Users can send a new email.

### Reply mail
Users can reply to emails which takes them to compose form with recipients and subjects filled in.
