This is a simple project which enables to download attachments automatically from a gmail account.
The app takes a single parameter which is the path to the configuration file with the following structure : 
mail.username=myAddress@gmail.com
mail.password=myPassword
save.attachments.path=/my/path/to/save/my/attachments