News for hackers. Stuff that matters.
Re:Show HN: Gmail CLI Utils (bulk delete mail by query, get/... by lifeisstillgood on Sunday April 26, 2020 @07:06PM (#22991127)
I did something similar - in fact looking at the add filter, very similar, where I add a label to certain mails by query and then delete - but the weirdest part was i could not auto-create one new filter - i have to re-create them all (so if I want to add a 21st filter with 20 still there my create filter routine needs to apply 21 filters. I just have it trying to reduce the spam and should spend some time trying to add new filters - one day.

But this is cool and love to know if there is a "add one" feature i missed.

Re:Show HN: Gmail CLI Utils (bulk delete mail by query, get/... by abionic on Monday April 27, 2020 @01:06AM (#22993037)
I am using google-api-client, which has a "create" for single GMail Filter

available here: https://developers.google.com/gmail/api/v1/reference/users/s...

Re:Show HN: Gmail CLI Utils (bulk delete mail by query, get/... by lifeisstillgood on Monday April 27, 2020 @03:04AM (#22993583)
thanks i will have a look