Skip to content

AshvinBari/Email_Agent

Repository files navigation

Email_Agent

License: MIT Build Status Code Quality


🚀 Overview

Email_Agent is a lightweight email automation and processing agent. It connects to Gmail via API, uses OAuth authentication, and processes emails with NLP to extract entities or perform automated actions. It is designed as a modular foundation for building email-driven workflows and intelligent agents.


✨ Features

  • Gmail API integration (send, read, list messages)
  • OAuth 2.0 authentication support
  • NLP entity extraction and processing
  • Modular pipeline design for easy extension
  • Simple CLI and Python API usage
  • Ready to extend with connectors (IMAP, Outlook, etc.)

📁 Repository Structure

File / Module Purpose
app.py Main entry point for the application
gmail_client.py Gmail API wrapper and utilities
nlp_processor.py NLP entity extraction and parsing
G.auth.py OAuth authentication logic
a.py Utility / example script
credentials.json Gmail OAuth credentials (local use only)
requirements.txt Project dependencies

⚡ Getting Started

Prerequisites

  • Python 3.8+ (3.10 recommended)
  • Gmail API enabled in Google Cloud project
  • OAuth 2.0 credentials (credentials.json)

Installation

git clone https://github.com/AshvinBari/Email_Agent.git
cd Email_Agent

python -m venv .venv
source .venv/bin/activate   # Linux/macOS
.venv\Scripts\activate      # Windows

pip install -r requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages