- All code is experimental and there's no guarantee it won't fail. Plus, the current implementation has only been tested with Gmail. No idea how to make it work for Outlook. If you want to contribute, you can add instructions for that here.
- If using Gmail (only tested), create an app password with 2FA enabled. Instructions here. It takes only 1 min to create one.
- Modify the
alert_config.json
parameters. - Modify
email_alert.py
alert frequency (viatime_sleep
) andthreshold_kb
- Run
email_alert.py
in the background
python email_alert.py &
- Wait until you receive an annoying email reminding you to clean up your directory (specified in
alert_config.json
)
Notes:
- To disable,just kill the job.
- You can run a quick test to see if it works by executing
python email_alert.py y
Totally welcome! Quite a few things can be improved. If you have spare time to improve the implementation ๐, please, go ahead!!