A Python tool to extract cryptocurrency purchase information from email data stored in mbox files. This project aims to help crypto enthusiasts quickly parse their email history for purchase records.
- This is a helper tool, not a production-ready solution
- Results may be incomplete or inaccurate - always verify the data
- The project is not actively maintained
- Uses local LLM (Ollama) for basic email parsing
- Extracts email data from mbox files
- Identifies cryptocurrency purchase emails
- Extracts purchase details such as amount, currency, vendor, and date
- Outputs the extracted data to a CSV file
- Python 3.7+
- Required Python packages (listed in
requirements.txt
)
-
Clone the repository:
git clone https://github.com/yourusername/digital-asset-purchase-harvester.git cd digital-asset-purchase-harvester
-
Install the required packages:
pip install -r requirements.txt
-
Run the script with the path to your mbox file:
python main.py path/to/your.mbox --output path/to/output.csv
-
The script will process the mbox file and output the purchase data to the specified CSV file.
-
The LLM model used for email parsing can be configured in
config.py
:LLM_MODEL_NAME = "llama3.2:3b"
python main.py example.mbox --output output/purchase_data.csv
This project is licensed under the MIT License. See the LICENSE file for details.