How moseskakuno/ai-mail-assistant works
AI Mail Assistant is a small Streamlit app for turning a pasted customer email into structured guidance and a reply draft. The user submits an email; the app reads its OpenAI settings, requests analysis, displays the result, and offers a text download. The requested analysis covers category, priority, sentiment, summary, next steps, and a same-language reply. The README also emphasizes human review and that replies are not sent automatically. The graph reflects the single sampled implementation file; its capabilities are not separate modules.
Main entry points: app.py Streamlit app
Components 7
User interaction
- Streamlit app
app.py - API settings
app.py
AI analysis
- OpenAI API
- Email analysis and reply
app.py
Review and export
- Human review
- Text download
app.py
Other components
- Support user
Connections 9
- Support user → Streamlit app: submits email
app.py - Streamlit app → API settings: reads credentials
app.py - API settings → Streamlit app: returns settings
app.py - Streamlit app → OpenAI API: requests analysis
app.py - OpenAI API → Streamlit app: returns response
app.py - Streamlit app → Email analysis and reply: displays result
app.py - Email analysis and reply → Human review: is reviewed
README.md - Streamlit app → Text download: offers download
app.py - Support user → Text download: downloads text
app.py