Modify Paramters as required, defautl set to HTML, results to email body but option to add as attachment included.
Set "fileID" to 1 for main data file checks, currently set to 2 for Log File checks.
Set required percent used threshold, currently set at 15%.
You'll need to set this script as a step in a SQL Agent job, set on a schedule to run and evaluate.