Rsclub2_2 b741389754 fix: Debug-Modus raus, gunicorn, UIDs statt Sequenznummern, nur http(s)-Links
- Flask-Debugger (Werkzeug, Codeausführung) war offen auf 0.0.0.0:5000; jetzt gunicorn, Healthcheck
- Verschieben per UID (Sequenznummern verschieben sich nach dem Expunge), nur Ziffern erlaubt
- "Move All" schickte keine IDs mit; Formular enthält jetzt alle UIDs
- Links aus Mails nur noch http(s) (kein javascript:/data:), rel=noopener noreferrer
- Betreff dekodiert, BODY.PEEK (Mails bleiben ungelesen), Python 3.12, feste Versionen, Nicht-Root
- Tests

Claude-Session: https://claude.ai/code/session_01SqzF6qT3TQ8ej3wigEuMSu
2026-10-29 14:08:16 +01:00
2023-08-01 03:13:50 +02:00
2023-08-02 00:09:47 +02:00
2023-08-02 00:49:02 +02:00
2023-08-01 03:13:50 +02:00
2023-08-01 23:56:32 +02:00

Email Unsubscribe Links Scraper

This is a simple Python web application that logs into an email server, scans the inbox for unsubscribe links, and displays the results in a table. It also provides the option to move selected emails to the trash.

Disclaimer

This App is still in development

How to use

  1. Clone this repository.
  2. Build the Docker image: docker build -t email-unsubscribe-links-scraper .
  3. Run the Docker container: docker run -p 5000:5000 -e EMAIL_USERNAME=your_email@example.com -e EMAIL_PASSWORD=your_email_password -e EMAIL_SERVER=your_email_server email-unsubscribe-links-scraper
  4. Access the application in your web browser at http://localhost:5000.

For non-build-use:

Run following command: docker run -p 5000:5000 -e EMAIL_USERNAME=your_email@example.com -e EMAIL_PASSWORD=your_email_password -e EMAIL_SERVER=your_email_server rsclub22/email-unsubscribe-links-scraper

License

Copyright 2023 Philipp Wagner

This project is licensed under the GPLv3 License - see the LICENSE file for details.

Betrieb

Konfiguration per Umgebung: EMAIL_SERVER, EMAIL_PORT (993), EMAIL_USERNAME, EMAIL_PASSWORD (Sammelpostfach), optional EMAIL_FOLDER (INBOX) und TRASH_FOLDER (Trash). Der Container startet gunicorn auf Port 5000 (kein Flask-Debugger) und gehört hinter einen Reverse Proxy mit Anmeldung (bei Wagnersnetz Caddy forward_auth über Authelia). Tests: pytest tests.

S
Description
No description provided
Readme GPL-3.0
80 KiB
0 Stars 1 Watchers 0 Forks
Languages
Python 84.1%
HTML 10.1%
CSS 3.4%
Dockerfile 2.4%