Send an email when uploading a file in root directory