Skip to content

AI-powered email and WhatsApp automation system with intelligent job posting detection, resume generation, and approval workflow using Model Context Protocol (MCP)

Notifications You must be signed in to change notification settings

nihal-5/My-Email-MCP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– My-Email-MCP

AI Email Automation TypeScript Node.js OpenAI

AI-Powered Email & WhatsApp Automation System with Intelligent Job Detection

Features β€’ Architecture β€’ Installation β€’ Usage β€’ Tech Stack


πŸ“‹ Overview

My-Email-MCP is an intelligent automation system that revolutionizes how you handle job applications. It combines Natural Language Processing, Agentic AI, and Model Context Protocol (MCP) to automatically detect job postings, generate tailored resumes, and streamline your job application workflow.

🎯 The Problem

  • πŸ“§ Hundreds of emails daily - manually checking for job opportunities is time-consuming
  • πŸ“ Creating customized resumes for each job posting takes hours
  • ⏰ Missing job opportunities due to delayed responses
  • πŸ”„ No centralized system to manage applications and approvals

✨ The Solution

An AI-powered automation system that:

  1. Monitors your email and WhatsApp 24/7
  2. Detects job postings with 95% accuracy using advanced NLP
  3. Generates tailored resumes using AI (OpenAI/Ollama)
  4. Sends applications through an intelligent approval workflow
  5. Tracks everything in a beautiful dashboard

πŸš€ Features

🧠 Intelligent Email Classification

  • 95% accuracy in detecting job postings vs spam/newsletters
  • Rule-based + AI hybrid classification system
  • Multi-word job position detection (40+ patterns)
  • Smart exclusion of GitHub notifications, LinkedIn spam, etc.
  • Real-time processing of UNSEEN emails

πŸ“ AI-Powered Resume Generation

  • LLM-driven customization based on job descriptions
  • Extracts requirements and tailors your experience
  • Professional LaTeX template generation
  • PDF compilation with error handling
  • Multiple AI provider support (OpenAI, Ollama, Groq)

πŸ”„ Multi-Agent Orchestration

  • Email monitoring agent
  • WhatsApp monitoring agent
  • Classification agent
  • Resume generation agent
  • Approval workflow agent

πŸ“Š Approval Dashboard

  • Beautiful web interface to review applications
  • Preview generated resumes before sending
  • One-click approve/reject workflow
  • Email draft management
  • Session persistence

πŸ” Security & Privacy

  • Environment variable configuration
  • No hardcoded credentials
  • Local processing option with Ollama
  • Secure email handling via IMAP/SMTP

πŸ› οΈ Tech Stack

Backend & Core

  • TypeScript - Type-safe application logic
  • Node.js - Runtime environment
  • IMAP - Email monitoring
  • SMTP - Email sending

AI & NLP

  • OpenAI GPT-4 - Resume customization
  • Ollama - Local LLM alternative
  • Groq - High-speed inference
  • Custom NLP - Job position detection

Resume Generation

  • LaTeX - Professional document templating
  • PDFLaTeX - PDF compilation
  • AI Customizer - Content tailoring

πŸ“¦ Installation

Prerequisites

```bash

Required

  • Node.js 18+
  • npm or yarn
  • LaTeX (for PDF generation)
  • OpenAI API key OR Ollama installed ```

Setup

  1. Clone the repository ```bash git clone https://github.com/nihal-5/My-Email-MCP.git cd My-Email-MCP ```

  2. Install dependencies ```bash npm install ```

  3. Configure environment variables ```bash cp .env.example .env ```

  4. Build and start ```bash npm run build npm start ```


πŸš€ Usage

Access the Dashboard

``` http://localhost:3001 ```

How It Works

  1. System starts monitoring your Gmail inbox
  2. New email arrives β†’ Instantly classified
  3. Job posting detected β†’ AI generates tailored resume
  4. Application appears in dashboard β†’ You review
  5. Click "Approve" β†’ Email sent with resume attached!

πŸ“Š Performance

  • Classification Speed: <1ms per email
  • Accuracy: 95% job detection rate
  • Resume Generation: 5-10 seconds
  • Email Processing: Real-time (instant on arrival)

⭐ Star this repository if you find it helpful!

Made with Love AI Powered

About

AI-powered email and WhatsApp automation system with intelligent job posting detection, resume generation, and approval workflow using Model Context Protocol (MCP)

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published