AI Email Routing Framework

Modular, Tool-Agnostic Architecture for Intelligent Workflow Automation

🖥️
Presentation Layer
User interface for triggering pipelines and viewing results
Streamlit
Dashboard UI
Current
Swap Options Easy
Gradio React + FastAPI Retool Slack Bot
⚙️
Orchestration Layer
Coordinates workflow, handles errors, manages state
Python Pipeline
Workflow Engine
Current
Swap Options Medium
Apache Airflow Prefect Temporal AWS Step Functions
🧠
AI / LLM Layer
Classification intelligence and content generation
Claude (Anthropic)
Classification
Current
Swap Options Easy
GPT-5 (OpenAI) Gemini (Google) Llama (Self-hosted) AWS Bedrock
Claude (Anthropic)
Reply Generation
Current
Swap Options Easy
GPT-5 (OpenAI) Mistral Fine-tuned Model
Human-in-the-Loop Layer
Review, edit, and approve AI-generated content
Airtable
Approval Queue
Current
Swap Options Easy
Notion Google Sheets Slack (Buttons) Jira Custom App
💾
Data Layer
Storage, persistence, and audit trails
JSON Files
Local Storage
Current
Swap Options Easy
PostgreSQL MongoDB Supabase S3 + Athena

"The investment is in the pattern, not the specific tools."