Gmail Scripting

I preserve all my email in archive, which gives me very noisy results when I search the backlog.

So I’ve set up filters in Gmail to automatically tag news and mailing list emails over 5 days old.

I go to Gmail’s web page, select all email with that label, tell Gmail “yes, I want to select ALL emails with that label”, and delete all. Then I go to my email client (MailMate) and re-synch with mail server. Then repeat this for three different Gmail accounts.

After this process, I get much leaner results when searching mail. I try to repeat it every couple weeks. But it’s a pain. How much of it can I automate?

I don’t think this is possible to do via my client, MailMate…

GMail accepts REST API access. So, will be able to control GMail from AppleScript.

–Translate by Google Translate API AppleScript
http://piyocast.com/as/archives/4998

–Image Recognition by Microsoft Azure Computer Vision API AppleScript
http://piyocast.com/as/archives/2834

That’s an encouraging start! Arigato, maro!