basic script: read files; resolve them with api; send email notification