This is a simple email crawler written in Python.
- Python 3.6+
- Docker
- RabbitMQ
- Minio
Create data and logs folder in the root directory.
mkdir data
mkdir logs
mkdir attachmentsAdded your variables in the .env file.
cp .env.example .envRequired variables:
IMAP_GMAIL_HOSTIMAP_GMAIL_EMAILIMAP_GMAIL_PASSWORDLOCAL_FILE_PATH
Start RabbitMQ and Minio
docker-compose up -dAccess RabbitMQ at http://localhost:15672/ with username and password guest.
Access Minio at http://localhost:9002/ with username and password minioadmin.
Install dependencies
pip install -r requirements.txtRun the script
python3 main.py