MailPilot-AI
by himateja1
README.md
# š§ MailPilot-AI
> AI-powered Gmail Assistant built using **FastMCP** and the **Gmail API**.
MailPilot-AI is an intelligent Gmail assistant that connects with Gmail using OAuth2 authentication and provides AI-powered email management features such as reading, searching, sending, replying, summarizing, and organizing emails.
---
## ⨠Features
- š„ Read latest emails
- š¬ Read unread emails
- š Search emails
- š Open complete email
- š¤ Send emails
- š¬ Reply to emails
- ā Star emails
- š¦ Archive emails
- š Delete emails
- ā Mark emails as read
- š¤ AI Inbox Summary
- š§ Smart email workflows
- š Secure Gmail OAuth authentication
---
## š Project Structure
```text
MailPilot-AI/
ā
āāā agent/
ā āāā email_service.py
ā āāā inbox_summary.py
ā āāā memory.py
ā āāā planner.py
ā āāā reply_generator.py
ā āāā workflows.py
ā
āāā gmail/
ā āāā actions.py
ā āāā attachments.py
ā āāā compose.py
ā āāā reader.py
ā āāā search.py
ā
āāā docs/
āāā tests/
ā
āāā auth.py
āāā gmail_api.py
āāā server.py
āāā requirements.txt
āāā README.md
```
---
## š Tech Stack
- Python
- FastMCP
- Gmail API
- OAuth 2.0
- Google Cloud Platform
- Git
- GitHub
---
## š Getting Started
### Clone the repository
```bash
git clone https://github.com/himateja1/MailPilot-AI.git
```
### Go into the project
```bash
cd MailPilot-AI
```
### Create a virtual environment
```bash
python -m venv .venv
```
### Activate the virtual environment
Windows
```bash
.venv\Scripts\activate
```
Linux / macOS
```bash
source .venv/bin/activate
```
### Install dependencies
```bash
pip install -r requirements.txt
```
### Configure Gmail API
1. Create a Google Cloud Project.
2. Enable the Gmail API.
3. Download `credentials.json`.
4. Place `credentials.json` in the project root.
5. Run authentication once.
---
## ā¶ Running the Project
```bash
python server.py
```
---
## šø Screenshots
### Inbox Summary
_Add screenshot here_
---
### Reading Emails
_Add screenshot here_
---
### Sending Emails
_Add screenshot here_
---
### MCP Server
_Add screenshot here_
---
## š Future Improvements
- š¤ Voice commands
- š
Google Calendar integration
- š Attachment summarization
- š Web dashboard
- š¤ Multi-agent support
- š§ RAG over emails
- š± Mobile companion
---
## š¤ Contributing
Contributions, ideas, and suggestions are welcome.
Feel free to fork the repository and submit a pull request.
---
## š License
This project is for educational and portfolio purposes.
---
## šØāš» Author
**Himateja**
GitHub: https://github.com/himateja1
This server cannot be deployed
Maintenance
ActivitySlowing
ResponsivenessNo issues