-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
This guide explains how to install and run MailIntel AI using either a local Python environment or Docker.
- Python 3.13 or later
- Git
- Docker Desktop (optional)
- VS Code (recommended)
Supported operating systems:
- macOS
- Linux
- Windows
git clone https://github.com/Litap-AI/mailintel-ai.git
cd mailintel-aipython3 -m venv .venvActivate:
source .venv/bin/activatepython -m venv .venv
.venv\Scripts\activatepip install --upgrade pip
pip install -e ".[dev]"python --version
pip --version
python -m streamlit --versionpython -m streamlit run src/mailintel/ui/app.pyOpen your browser:
http://localhost:8501
docker compose builddocker compose upOpen:
http://localhost:8501
docker compose downExecute the complete test suite:
pytestRun Ruff:
ruff check .
ruff format . --checkRun MyPy:
mypy srcRun all pre-commit hooks:
pre-commit run --all-filesmailintel-ai/
src/
tests/
docs/
samples/
README.md
Dockerfile
docker-compose.yml
pyproject.toml
A sample email is available in:
samples/
Upload the sample through the dashboard to explore the application's features.
Pull the latest changes:
git pull origin mainUpdate dependencies:
pip install -e ".[dev]"Ensure the virtual environment is activated.
Run the application using:
python -m streamlit run src/mailintel/ui/app.pyinstead of:
streamlit run ...This guarantees that the Streamlit installation from the active virtual environment is used.
Verify Docker Desktop is running.
Rebuild the image:
docker compose build --no-cacheRun:
pip install -e ".[dev]"Then execute:
pytestEnsure you're using the supported Python version and that development dependencies are installed.
Run:
mypy srcIf you encounter an issue:
- Review the FAQ.
- Search existing GitHub Issues.
- Open a new Issue with:
- Operating system
- Python version
- Error message
- Steps to reproduce
Providing this information helps reproduce and resolve issues more efficiently.
After installation, explore:
- Architecture
- Investigation Workflow
- Developer Guide
- Threat Model
- Roadmap
These documents provide a deeper understanding of the project's design and future direction.