Every day I receive several e-mails with a attached text-file (containing data that later will end up in a MySQL database). I would like to use R to connect to the mail server, check for mail from a specific e-mail address, and download and save the attached txt-file to a specified folder.
To handle this job I am planning on setting up a cronjob on Linux to start this R job at different daily intervals, and I will also be using R to push data from the files to MySQL.
Any suggestions?