Simple, intelligent email triage system with environment-based configuration.
cp .env.template .env
# Edit .env with your email account detailspython main.pyThe Streamlit interface will open in your browser at http://localhost:8501.
mailinflow/
├── main.py # 🚀 Simple launcher (just run: python main.py)
├── streamlit_triage.py # 🌐 Web interface for manual triage
├── config_manager.py # ⚙️ Simple environment-based configuration
├── email-triage.py # 📧 Core email processing logic
├── .env.template # 🔑 Configuration template
├── pyproject.toml # 📦 Dependencies
├── README.md # 📖 Simple getting started guide
└── instructions/ # 📚 All documentation organized here
# Single Account
EMAIL_USER="[email protected]"
EMAIL_PASS="your-password"
IMAP_SERVER="imap.gmail.com"
IMAP_PORT=993
# Multiple Accounts (optional)
ACCOUNT_1_NAME="Primary"
ACCOUNT_1_EMAIL_USER="[email protected]"
ACCOUNT_1_EMAIL_PASS="primary-password"
# System Settings
BACKUP_ENABLED=true
UNSUBSCRIBE_ENABLED=true
SPAM_CONFIDENCE_THRESHOLD=0.8
# Optional
OPENAI_API_KEY="sk-..."pip install -e .python -m pytestSee the instructions/ folder for detailed guides and documentation.
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request
Need Help? Check the instructions/ folder for comprehensive documentation.