Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automatically create GMail filters based on externally hosted word list

Tags:

gmail

I'd like to easily import a word list, hosted on Github, to GMail as archive filters. Then later re-run this process to update the list.

The goal is to provide blacklists against common known Finnish spammers.

Possible options I have considered

  • Bookmarklet

  • Using GMail API

  • Creating GMail Labs extension (or whatever they are called)

What kind API options I have for maintaining GMail filter list? Programming language does not matter.

Optionally this would be a single click / single command operation e.g. from terminal or browser bookmark.

like image 628
Mikko Ohtamaa Avatar asked Dec 05 '25 15:12

Mikko Ohtamaa


1 Answers

Today I was curious about this myself, although for a different reason... I found this info and thought I'd risk a bit of necromancy :)

You should take a look at Gmail settings API - filters

There is a Java wrapper

like image 141
Dan Murphy Avatar answered Dec 10 '25 20:12

Dan Murphy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!