Comments (3)
from lieer.
Hi!
Thanks for reply. I've now been experimenting with this further and I
understand better what is going on, and I think all my 4 points above are OK
now. Just user error on my part (thus closing).
Have you checked Trash and All Mail
Right you are, they're in "All Mail", and the error was mine, as I think at
some point during my experimentation I must have removed the "inbox"-tag in notmuch and
didn't realize it's a 1:1 with gmail's "INBOX"-folder; which I now realize is
just a tag, and of course syncing tags is exactly what gmailieer does.
Specifically, I am/was hazy on how labels work in gmail, and never even noticed
there's an "All mail" in gmail.
- Do you have several gmail accounts that could have gotten mixed up?
No, however, there are other parallel non-gmail accounts that I sync with mbsync, e.g:
~/.mail/gmail
~/.mail/work
~/.mail/other
...but problem solved now.
- Did you start with a fresh account in notmuch? i.e: no e-mail from
that account in your notmuch database on the first gmi pull?
Nope. In fact, I have a more general, gmail, question, you might
have pointer on:
1. Sent mail tag?
In notmuch the mails sent from gmail have the "sent" tag, but for me some have
a "[Gmail]/Sent Mail"-tag. I believe this comes from when I initially tried to
get gmail and mbsync to play nice, and in that process I mapped gmail's IMAP
folder "[Gmail]/Sent Mail" (linked to the "Sent Mail"-folder/tag in the web
interface) into a "sent/"-folder on my local machine. That worked in my
Wanderlust setup.
Now, I suspect the following:
1a. This isn't normal, all the "[Gmail]/Sent Mail"-tags should be "sent" (in notmuch).
1b. Thus, in the web version of gmail, I can remove the "[Gmail]/Sent Mail" label/tag.
1c. But the README seems to indicate it's not possible to push the "sent" tag?
2. Unread/inbox tags on sent mail
Right now, I think I need to sync twice, to get sent email downloaded, "inbox", "unread"-tags
removed, and then pushed back up again and shown properly in both notmuch and
gmail.com, and not shown as "unread" on either side.
I have in my notmuch config:
[new]
tags=inbox;unread;new;
ignore=*.json;
and a post-new hook:
notmuch tag -inbox tag:sent and tag:inbox and tag:new
notmuch tag -unread tag:sent and tag:unread and tag:new
# gmail arbitrarily marks mails as "important",
# note: not the same as "flagged".
notmuch tag -important tag:important
# gmailieer needs the "new" tag initially, can no be removed:
notmuch tag -new tag:new
When I used the fcc dir, notmuch ran this code:
(setq notmuch-fcc-dirs '(("work.com" . "\"work/Sent Items\" -unread -inbox")
;;("gmail.com" . "\"gmail/Sent Mail\" "-unread -inbox") ;; using gmailieer
("other" . "\"other/Sent\" -unread -inbox")))
Which was handy, as it removed the "unread" and "inbox" tags right when
sending the mail.
3. trash vs. delete?
I notice the default tag for thrashing messages in notmuch, is "deleted". Is
it possible to map "deleted" to be alias for "trash"?
Closing
If you have any thought on what I've written, I'd be interested in hearing them, but I'm closing this now, as the main "issue" has been clarified now. Thanks!
from lieer.
from lieer.
Related Issues (20)
- `notmuch2.errors` does not exist
- gmi sync didn't work HOT 2
- Sync consistently times out HOT 1
- Sync "receiving content" slow; 20-60 seconds per it HOT 1
- gmi init/auth failure HOT 9
- new.tags not being honoured if not specified in database HOT 19
- Replace deprecated and unmaintained oauth2client library HOT 2
- Hitting user quota for messages.get: missing (undocumented) 15k req/user/min limit HOT 1
- Unable to complete or limited initial pull HOT 1
- Error when running pip install: fatal error: notmuch.h: No such file or directory
- gmi auth on headless remote server HOT 3
- How do I only pull messages matching a label? HOT 2
- Release v1.4 HOT 3
- Not custom indexing headers in Notmuch HOT 2
- Not pushing tags? HOT 1
- gmi push takes hours every time HOT 6
- verbose logging option to show same info as dry-run HOT 2
- rename tags with users.labels.update? HOT 1
- code style guidelines HOT 4
- never delete files, but move to a recycling bin of sorts 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.