Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tyeetale/mailinflow

Repository files navigation

📧 Mailinflow

Simple, intelligent email triage system with environment-based configuration.

🚀 Quick Start

1. Setup Configuration

cp .env.template .env
# Edit .env with your email account details

2. Launch Interface

python main.py

The Streamlit interface will open in your browser at http://localhost:8501.

📁 Project Structure

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

⚙️ Configuration

Simple .env Setup

# 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-..."

🔧 Development

Install Dependencies

pip install -e .

Run Tests

python -m pytest

📚 Documentation

See the instructions/ folder for detailed guides and documentation.

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

Need Help? Check the instructions/ folder for comprehensive documentation.

About

simple free ml based email triage system to get to zero inbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages