Skip to content

AlenaMus/EmailSkillAgents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Skill Agents

Version: 2.1.0 Status: ✅ Production Ready Date: December 3, 2025

Automated homework grading workflow with 4 specialized agents that process Gmail emails, analyze repositories, generate personalized feedback, and send evaluation emails.


🚀 Quick Start

# 1. Install dependencies
pip install -r requirements.txt

# 2. Authenticate with Gmail
python -m gmailagent auth

# 3. Run orchestrator
python orchestrator.py

# 4. Select Option 5 (Run All Agents)

📋 Agents

  1. GmailAgent - Export emails from Gmail with URL extraction
  2. Repository Analyzer - Clone and analyze Git repositories, calculate grades
  3. Greetings Agent - Add personalized, persona-based greetings
  4. Evaluation Sender - Create and send HTML email drafts via Gmail

📖 Complete Documentation

All documentation is available in the instructions/ folder:

Getting Started

Status & Updates

Technical Details

Feature Guides


✨ Key Features

  • ✅ Gmail integration with OAuth 2.0
  • ✅ Automatic repository cloning and analysis
  • ✅ Grade calculation based on code metrics
  • ✅ Personalized greetings based on performance
  • ✅ HTML email generation with professional templates
  • ✅ Status column coordination between agents
  • ✅ Interactive orchestrator menu
  • ✅ Date filtering support (after, before, newer-than)
  • ✅ Flexible filter combinations (label + subject + date)

🎯 Latest Updates (v2.1.0)

New Features

  • Date Filtering - Filter emails by date ranges or relative dates
  • Flexible Combinations - Combine label, subject, and date filters

Recent Fixes

  • ✅ Fixed Unicode encoding issues on Windows
  • ✅ Fixed "no emails found" detection
  • ✅ Fixed Status column handling for multiple Status columns
  • ✅ All 4 agents working perfectly in sequence

📁 Project Structure

EmailSkillAgents/
├── instructions/              # 📖 Complete documentation
├── docs/                      # Additional guides
├── gmailagent/               # Agent 1: Email export
├── repo_analyzer/            # Agent 2: Repository grading
├── greetings_grades_agent/   # Agent 3: Personalized greetings
├── evaluationAgent/          # Agent 4: Email sending
├── orchestrator.py           # Main orchestrator
├── tests/                    # Test scripts
└── requirements.txt          # Python dependencies

🔧 Requirements

  • Python 3.8+
  • Gmail account with API access
  • Internet connection
  • Required packages (see requirements.txt)

💡 Usage Examples

Filter by Label

python orchestrator.py
# Select Option 1
# Label: Studies/AIDevelopmentCourse

Filter by Date Range

python -m gmailagent export --label "homework" --after "2025-12-01"

Run Complete Workflow

python orchestrator.py
# Select Option 5
# Follow prompts for label, subject, date, recipient

📸 Successful Test Run Examples

Below are screenshots from a successful complete workflow execution (Option 5):

🎯 Agent Execution Flow

Agent 1: Gmail Export

Test Run 1

Agent 2: Repository Analyzer

Test Run 2

Agent 3: Greetings Generator

Test Run 3

Agent 4: Evaluation Sender

Test Run 4

📧 Gmail Drafts Created

Received Drafts in Gmail

Gmail Drafts

Email Content with Personalized Greeting

Email Content

Results Summary:

  • ✅ 6 emails exported from Gmail
  • ✅ 4 repositories analyzed successfully
  • ✅ 4 personalized greetings generated
  • ✅ 4 HTML email drafts created in Gmail
  • ✅ 2 students skipped (Invalid URL)

🆘 Support

For detailed information, see the documentation in the instructions/ folder.

Quick Links:

  • Getting Started: instructions/QUICKSTART.md
  • Troubleshooting: instructions/FINAL_STATUS.md
  • Feature Guide: docs/DATE_FILTERING_GUIDE.md

📊 Test Results

  • ✅ 7/7 tests passing
  • ✅ All agents working correctly
  • ✅ Date filtering verified
  • ✅ Gmail integration tested
  • ✅ Complete workflow validated

Version: 2.1.0 Last Updated: December 3, 2025 Status: Production Ready ✅

For complete documentation, see instructions/README.md

About

Automated homework grading workflow with 4 specialized agents: Gmail export, repository analysis, personalized greetings, and email sending

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors