About Email Analyzer
Email Analyzer is an MCP server in the Search category: gmail inbox analytics via MCP: fetch, search, and summarize email metrics in Node.js.
Install
git clone https://github.com/winitramesh2/email-analyzerThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Ask AI
Ask AI about Email Analyzer
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
Email Analyzer with Gmail MCP Integration
A Node.js application that connects to your Gmail account via MCP (Model Context Protocol) and analyzes your emails.
Features
- Connect to Gmail via MCP
- Fetch recent emails
- Search emails with custom queries
- Analyze email metrics:
- Total emails
- Unread count
- Important emails
- Emails with attachments
- Top senders
- Label distribution
Setup
-
Install dependencies:
npm install -
Your Gmail credentials are already configured in
.envfile. -
Run the analyzer:
npm start
Usage
Run the analyzer
npm start
This will:
- Connect to Gmail via MCP
- Fetch your 50 most recent emails
- Analyze and display metrics
- Search for unread emails
Customize the analysis
Edit index.js to customize:
- Number of emails to fetch
- Search queries
- Analysis parameters
Available Gmail MCP Tools
The Gmail MCP server provides these tools:
gmail_list_messages- List recent messagesgmail_get_message- Get a specific message by IDgmail_search_messages- Search messages with Gmail query syntaxgmail_send_message- Send an emailgmail_create_draft- Create a draft email
File Structure
index.js- Main entry pointemail-analyzer.js- Email analysis logicgmail-client.js- Gmail MCP client wrappergmail-mcp-config.json- MCP server configuration.env- Environment variables (credentials)
Security Note
The .env file contains your OAuth credentials. Keep it secure and never commit it to version control.
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.