Mail-Delete-Task-Automator is an automation tool for mass deletion of emails.
Set Up Go to this link https://support.google.com/accounts/answer/6010255 and allow access for less secure apps. You can turn it off after using the app.
Mail-Delete-Task-Automator is a ruby based command line app, therefore to use it you need to have installed ruby Navigate to where you've stored Mail-Delete-Task-Automator Then run the command ruby init.rb
Instructions Manual Enter yor email and password when prompted. Actions Read - This will output the number of read emails. Unread - This will output the number of unread emails. Delete - This will delete all unread email before a specified date. Quit - This will exit the app.