Install
openclaw skills install eml-to-sqlite-indexerIndexes EML emails into an SQLite database, providing a web interface for searching, management, Excel export, and file deletion, with IP access control and integrated JSON automated backup/restore.
openclaw skills install eml-to-sqlite-indexerThis skill indexes EML email files from a specified directory into an SQLite database and provides a feature-rich web interface for searching and management. It includes automatic deduplication, IP access control, Excel export, and a JSON-formatted scheduled backup and restore system configurable via the web interface.
localhost and 127.0.0.1 are allowed.eml-indexer_YYYYMMDD.zip, offering excellent cross-platform compatibility.localhost or 127.0.0.1, a "⚙️ System Settings" tab is displayed, providing IP management, backup configuration, and deletion functionalities.Ensure your Python environment has the following packages installed:
pip install -r requirements.txt
# Or install manually:
pip install Flask tqdm
eml_indexer/
├── app.py # Web application (Flask) - includes scheduled backup thread
├── indexer.py # Core EML indexing script
├── requirements.txt # Python dependencies list
├── SKILL.md # Skill documentation (English)
├── config.json # Runtime configuration (allowed IPs, backup frequency, retention)
├── emails.db # SQLite database file (generated after running indexer.py)
├── backups/ # Directory for JSON backups (automatically created)
└── templates/
├── detail.html # Email detail page template
└── index.html # Email search and management main page template
└── references/
└── SKILL-TW.md # Traditional Chinese version of the skill documentation
Run indexer.py to import EML files from a specified directory into the database. It automatically skips already indexed emails on subsequent runs.
python indexer.py <EML_DIRECTORY_PATH> <DATABASE_PATH (default: emails.db)>
Execute app.py to start the Flask web server. The background scheduled backup thread will also start automatically.
python app.py
After starting, visit http://localhost:5000 in your browser.
When accessing the web interface from localhost or 127.0.0.1, click the "⚙️ System Settings" tab. Here you can:
references/SKILL-TW.md.eml-indexer_YYYYMMDD.zip.references/SKILL-TW.md.MIT License