Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.27.1
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
- Click on the "Authentication" tab
- Click "Get Authentication URL" button
- Open the URL in a new browser tab and authenticate with Microsoft
- After successful authentication, you'll be redirected. Copy the authorization code from the URL
- Paste the code in the "Authorization Code" field and click "Submit"
Usage
Email Extraction
- Select a mail folder from the dropdown
- Configure extraction parameters (max emails, batch size, date range)
- Click "Extract Emails" to fetch and organize email threads
Thread Analysis
- Click on the "Thread Analysis" tab
- Click "Generate Analytics" to visualize email metrics
- Explore the thread size distribution, activity timeline, and participant charts
Search
- Click on the "Search" tab
- Enter a search query and click "Search"
- Select a thread from the results and click "View Thread" to see details
Q&A
- Select a thread using the Search tab
- Click "Generate Q&A" to create AI-powered questions and answers
- Explore the generated Q&A pairs and summary
- 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