cloud-rag-webhook / README.md
Ultronprime's picture
Update README.md
73b1549 verified

A newer version of the Gradio SDK is available: 5.27.1

Upgrade
metadata
title: Email Thread Analyzer with AI Q&A
emoji: 📧
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 3.50.2
app_file: app.py
pinned: true
license: mit

Email Thread Analyzer with AI Q&A

An advanced tool for analyzing email threads, searching for relevant conversations, and generating Q&A pairs based on email content.

Features

  • Microsoft Graph API integration for secure email access
  • Email thread organization and visualization
  • Keyword-based search for finding relevant threads
  • Q&A generation based on thread content
  • Data visualization for email analytics
  • Export functionality for thread data and Q&A

Authentication

  1. Click on the "Authentication" tab
  2. Click "Get Authentication URL" button
  3. Open the URL in a new browser tab and authenticate with Microsoft
  4. After successful authentication, you'll be redirected. Copy the authorization code from the URL
  5. Paste the code in the "Authorization Code" field and click "Submit"

Usage

Email Extraction

  1. Select a mail folder from the dropdown
  2. Configure extraction parameters (max emails, batch size, date range)
  3. Click "Extract Emails" to fetch and organize email threads

Thread Analysis

  1. Click on the "Thread Analysis" tab
  2. Click "Generate Analytics" to visualize email metrics
  3. Explore the thread size distribution, activity timeline, and participant charts

Search

  1. Click on the "Search" tab
  2. Enter a search query and click "Search"
  3. Select a thread from the results and click "View Thread" to see details

Q&A

  1. Select a thread using the Search tab
  2. Click "Generate Q&A" to create AI-powered questions and answers
  3. Explore the generated Q&A pairs and summary
  4. Export the thread data with Q&A for further analysis

Privacy & Security

  • All processing happens within the application
  • Authentication is handled securely through Microsoft's OAuth2 flow
  • No email data is stored persistently outside of your session

Technical Details

This application uses:

  • MSAL for Microsoft authentication
  • Plotly for data visualization
  • Microsoft Graph API for email access