We currently have a task that runs every morning that downloads notices (ex. overdues) from our integrated library system. The files are downloaded by FTP per location with an .auton extension. We have a trigger setup on the folder change that will then take this information and put it in a .txt and then uses Text to PDF Converter. Each library has their own file, where these .pdf files are placed. These are accessible via an internal website for the libraries to download from. I have one external library I would like to email these daily notices. Each PDF file name contains today's date. I would like to create a task that either runs once a day or on a folder change trigger that checks this one directory, attach and email these new daily files, but not any older version already in this directory.
SU_overdue1.t200220.pdf for 2/20/20
SU_overdue1.t200219.pdf for 2/19/20
Any insight on this would be much appreciated.
Server 2012 R2