Comments (14)
Adding: Ignoring arbitrary tags based on regexp, or search string.
from lieer.
This seems like a good time to mention that I've started to work on a new feature for gmi, a custom translation of labels that can be configured by the user. It is in final stage and mostly need some more testing, so I hope to create a pull request for this feature in a few days.
I'm mentioning it here because it is related to the issue of the 'disallowed' labels discussed here. Also, I agree that @Eising 's use case is a good one, it would be useful to allow users to use tags locally without having to push them to their Gmail's accounts.
Since the implementation of this 'custom ignored labels' seems to me quiet similar to what I'm doing in the 'custom label translation' feature, I'll see if I can add it to what I'm doing or, perhaps, add it later in its own pull request.
from lieer.
@gauteh - I have just created a pull request :-)
from lieer.
And snooze is actually a gmail tag too (well, you can query it in the web UI, it returns items snoozed in the Inbox client), that probably confuses the web UI :)
I'd like custom ignore, because I'd like to unignore SPAM and TRASH.
from lieer.
Haven't seen snooze. Web-UI snoozed mails don't have any tags assoziated, or i'm missing stuff :-/
from lieer.
Yeah, you don't see it, but you can query is:snoozed
(or label:snoozed
) in gmail and it returns emails snoozed in Inbox - that's not documented anywhere, though.
from lieer.
from lieer.
from lieer.
i'm sorting the queue.date and use the "unsnooze" method on each tag below a certain date. It is much faster, than regexp manipulation.
One method would be using simple unix time. I'm using a yyyymmdd type date, which makes it easier for input, coz i haven't worked on setting up custom commands/hooks. I don't need the extra time component and by date is enough.
i have a third tag which is snoozedBy. I can enter relative times and a timed python script translates these into absolute values :)
It seems the snoozed label is not included as well, which is a bummer.
from lieer.
Ok, so to sum up:
- Ignoring arbitrary tags is easy.
- Un-ignoring
spam
andtrash
is not.
from lieer.
I would like to request this feature too.
Since I use multiple gmail accounts, it would be nice to be able to tag them so I can distinguish them locally, but I don't want that tag to be synced to gmail.
from lieer.
Cool, looking forward to see how it works.
from lieer.
Try #81 for a simple custom ignore
from lieer.
Fixed in #81. No regexp support yet.
from lieer.
Related Issues (20)
- Access blocked: Lieerโs request is invalid HOT 6
- Unable to run `gmi init` - 'Namespace' object has no attribute 'verbose' HOT 1
- Google API polling frequency recommendation HOT 1
- Is there a way to start the first sync using the emails downloaded with google takeout? HOT 3
- Re-authentication in 1.5, and it needs a GUI HOT 9
- 1.5 fails to authenticate (Debian testing) HOT 9
- gmi send error on dry-run HOT 1
- Recent releases not published on PyPI HOT 2
- module 'notmuch2' has no attribute 'Database' HOT 2
- Is it possible to use a regex in --ignore-tags-local ? HOT 1
- FYI email read in gmail becomes unread in notmuch and gmail upon sync HOT 2
- gmi fails to init if notmuch is set up with all defaults HOT 1
- OSX Instructions HOT 9
- gmi pull only pulls one mail.
- State changes not pushed back to gmail: when relative to current dir `.` HOT 4
- import mbox file from google takeout of gmail HOT 1
- Cannot import mail with inbox tag unaltered HOT 5
- Please document what do do if .state.gmailieer.json gets zeroed or corrupted HOT 3
- Mails with large attachments sent but with error HOT 4
- Can't use manually crafted credentials file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lieer.