This script will send you an mail with an attachment of the disk report showing details of all the folders , subfolders and the files in the "C drive"
from_mail = "email@example.com" # Provide an email from where it has to send mail
password = "********" # Provide password for the given mail
to_mail = "firstname.lastname@example.org" # Provide an email where it has to send mail
This script should be run as system user.