MailPilot-AI
Provides AI-powered email management for Gmail, including reading, searching, sending, replying, summarizing, and organizing emails via the Gmail API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MailPilot-AIsummarize my inbox for today"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π§ 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
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
git clone https://github.com/himateja1/MailPilot-AI.gitGo into the project
cd MailPilot-AICreate a virtual environment
python -m venv .venvActivate the virtual environment
Windows
.venv\Scripts\activateLinux / macOS
source .venv/bin/activateInstall dependencies
pip install -r requirements.txtConfigure Gmail API
Create a Google Cloud Project.
Enable the Gmail API.
Download
credentials.json.Place
credentials.jsonin the project root.Run authentication once.
βΆ Running the Project
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/himateja1/MailPilot-AI'
If you have feedback or need assistance with the MCP directory API, please join our Discord server