Search Mail to include All Mail (Gmail) / Archive question
-
@DavyLJones It's in the email settings, but it is also presented when you are setting up an account.
If you check it now, I suspect it will set up an archive folder in all of your IMAP accounts.
-
@DavyLJones In GMail on line, you right-click an email or multi-selected batch of mails and select "Move" in the context menu.
You could do the same in M3, and it should have the same effect. But first, of course, it has to have been downloaded.
-
@Ayespy @DavyLJones I now also played with this a bit.
TL;DR: removing all "labels" in GMail adds an archive tag in Vivaldi, so in the Vivaldi Mail client I find those emails in the GMail account Archive subfolder, as well as in the All Mail and the GMail account root if I toggle the view filter for archived messages. So far all more or less as expected. But I did have to right-click folders in Vivaldi and choose "Rerun Filter for Folder" a couple of times, which is odd. @DavyLJones I recommend you do that once on all your GMail folders in Vivaldi, including the root folder.
Long version:
Steps:
I start off with an email in the GMail Web interface which is in Inbox, marked Important, and (as all emails) is also in all Mail.
GMail:
We see here that the email is marked important (yellow >> next to the Subject) and it's in the inbox folder (again to the right of the subject)Now Vivaldi - I (my mail address redacted):
The email header shows where the email appears in Vivaldi, and additionally it can also be found in the "root" account view. Marked by blue dots, I find the email here:
@DavyLJones said in Search Mail to include All Mail (Gmail) / Archive question:
The way I handle emails is that once I am done with them, if I do not want to file them in a folder I just remove the inbox label or folder and they get dumped into Gmail's All Mail. By default, when I hit backspace on Gmail the email simply has the inbox or other labels removed, and it ends up in All Mail, where I ignore it
When I hit backspace in GMail nothing happens. So instead, in GMail's web Interface I remove the "Inbox" mark (to the right of the email subject) - now Vivaldi stops showing the email in the Inbox view (as expected).
As a third step, in GMail's web interface I remove the Important label (by clicking on the yellow >> next to the Subject). So in GMail, I don't see it any longer in Inbox or Important. I see it only in All Mail.
In Vivaldi, removing the last of what GMail calls labels has now done two things: first, the email no longer shows in the "Important" folder (as expected). It still shows in the All Mail folder (as expected) BUT it has also received the Archive marker. So I only see it in Vivaldi in the All Mail folder when I have the "show archived" toggle selected, and it also shows in the Archive folder.
So I always have the email, but GMail's quirky nonstandard use of folders for labels also does a hidden archive tagging. I just notice that in the GMail Interface I have a custom [Imap]/Archive label that - I guess - Vivaldi created with the setting @Ayespy mentioned above "Add Archive Folder if Missing".
This all makes sense but I did have to "rerun filter for folder" a couple of times along the way. Seems like Vivaldi has some issue here.
-
@WildEnte Yes. It's known that removing labels moves an email in M3 to Archive. If course in order to do that, one must first have the email in M3 and it can only fetch it if it belongs to a folder on the server in the first place.
-
@Ayespy I removed the labels on the Gmail interface, not in M3.
I suggest hitting "rerun filter for folder" on the Archive folder in Vivaldi. That made a whole lot of emails appear here that weren't there previously.
-
@WildEnte Amazing. Were these emails that M3 already had, or ones it had never downloaded before? In other words, did you remove all folder labels and THEN fetch the emails, or vice-versa?
-
@Ayespy said in Search Mail to include All Mail (Gmail) / Archive question:
Were these emails that M3 already had, or ones it had never downloaded before? In other words, did you remove all folder labels and THEN fetch the emails, or vice-versa?
Hard to say because I hardly use the GMail account at all. I just noticed that the one email I used to test, after removing the labels in GMail, showed in the Gmail Root & All Mail folders with the Archive toggle enabled, but it didn't appear in the GMail Archive folder in M3. When I chose to rerun folder, 30 emails appeared in a previously empty folder. Most of that are unimportant notification emails from GMail, so ... have they not been fetched before? I didn't have IMAP logging on, can't say.
-
@WildEnte OK.
So I suspect those mails were already locally stored.
The way M3 gets an IMAP email is to access the folder on the server where it lives, to fetch it.
I can't say for sure whether M3 subscribes to "All Mail" on the GMail servers, or whether it even can, since the All Mail category has no folder label of its own. It includes all folders, but it also includes "folderless" emails. I do know that M3 does have an "All Mail" view for GMail accounts, but I'm not aware of that view including any emails that don't have, or have never had, an M3 folder label (inherited from GMail)
I'm going to have to see if I can run an experiment that tries to download folderless emails from a GMail account. Let me think on this...
-
thanks so much for your effort.
Firstly a clarification - for simplicity I said when I hit backspace in Gmail it removed the label and so it is left in All Mail. That wasn't strictly true - I rarely use the Gmail Web platform. Mostly (until Vivaldi Mail) I was using the desktop client Airmail, which is designed for good interaction with Gmail. And on mobile I was using the Gmail app.
On Airmail if I hit backspace it has the described functionality - removing folder-labels and effectively archiving in All Mail. On the Gmail app I swipe right for that function.
I tried your suggestions.
- Firstly I realised that I had not set the setting to add Archive folder if missing so I switched that on - no change though and I think there already is an archive folder in Gmails IMAP folders.
- As you suggested I did "rerun filter for folder" on many folders - no change initially, but later I did notice that it made a significant change to some folders, but no effect on Archive or All Mail.
- I removed both my accounts and then re added one. but there was no noticeable change.
I took a closer look around and it all got a bit confusing!
Spam
In Spam there are loads of emails that are definitely not spam - in fact Vivaldi is pulling up emails that it acknowledges are filed in other folders - loads from old clients filed accordingly for example. Vivaldi sees the folders they are in on Gmail but still presents them as spam. Now I am worried Vivaldi will try to delete them!
Sent
Sent only shows 1018 even though on Gmail I can see over 35k sent mails. This 1018 consist of 1000 sent emails that have no labels, going back 6 and a half months, and another 18 that have been filed in other folders. I think. If that is true is it the case that Vivaldi Mail will only search through any folder to 1000 mails? Or will only search through 1000 unlabelled mails? It might explain some but not all my issues.
Trash
Trash pulls up emails in the Gmail Bin (as expected, but also emails in a folder I have never heard of before and cannot find on Gmail, called "deleted messages" going back many. years. Turns out that is in fact a gmail label though I dont understand it or how anything ended up there. But let's put that aside - it could be Mail, it coulfd be Airmail or who knows what. Vivaldi Mail's Trash also And it also pulls up things field in weird ways like "~~Outbox->~~Local Copy". - I guess that means I wrote the email on MAil, didnt send it and then Mail has saved it?
Archive
Archive is only displaying around 400 messages. They are all from All Mail. And they go back exactly 4 months. So again I wonder if In Archive Vivaldi is only looking back a set timescale?
So I did "rerun filter for folder" a few more times but to no avail.
All in all it's running really screwy for me, and I wonder if I have just set it up wrong - I just let it set itself up. Or is there are a bunch of settings I am not using correctly?
I have other issues, like I cannot get the alias on my account to work correctly even though it is set up just as it is on all my other clients. But there's no point in fixing that until I fix this issue.
In the end I might have to admit defeat. I love the browser and the idea of itegrating mail with it is powerful. The further thought that I might be able to deep search multiple Gmail accounts simultaneously was the real draw for me, but thats not working at all at present.
Do I keep going? I hate giving up, especially since I use the browser every day....
-
@DavyLJones Your GMail folders are polluted by earlier email clients. "Deleted Messages" is not a GMail label. It has been added by another client. The folders prefixed [IMAP] are also not natively GMail folders. They are GMail adding folder labels from clients. It also does not have an Archive folder. This is added from an IMAP client (like M3).
There is no numeric or date limitation for M3 to download or search for mails. My numbers of downloads and results of searches go into the hundreds of thousands and back to 2001 (the oldest email currently on my system)
M3 will not delete or try to delete messages labeled as Spam. You have to pro-actively do that yourself. Also, unlike GMail, it does not permanently delete trash of a certain age. It retains it even after GMail deletes it on server. You have to clean out your local trash bin yourself. You can select any email(s) labeled Spam in M3 and re-label it "not spam." That should return it to its original folder.
Don't give up, by any means. You have created a unique problem by using rare email clients and removing labels wholesale on the server, and we should work out what the solution for that problem is. Once we're over that hump, M3 should be a really good client for you.
-
@DavyLJones For starters, take a look at the emails that don't belong in your Spam folder. Do any of them have ONLY the spam email header label? Or do all of them also have another label?
-
@DavyLJones
Hi again, I can search back to 2019 and to 2021 in Archived mails but this is not Gmail.
I guess M3 does not limit anything in time or count of mails. -
@Ayespy said in Search Mail to include All Mail (Gmail) / Archive question:
@DavyLJones For starters, take a look at the emails that don't belong in your Spam folder. Do any of them have ONLY the spam email header label? Or do all of them also have another label?
None of the have a Spam label at all! They only have other labels. And they all have other labels. Hard to make sense of them being displayed as spam.
Also to clarify - re the Archive folder - I cant say when it was created and if M3 (is that the correct name of vivaldi mail?) created it or another client. But when i was talking about what was showing in Archive - I didnt mean in an imap folder neccesarily, I mean here....
I am not sure if that is a technically a folder or not.
Further down, under All Accounts, I do not see an Archive folder listed in my actual individual account on Vivaldi Mail - alongside all my other folders like "clients" and "projects" and "receipts" etc , even though I do see Inbox, Drafts, All Mail, Starred, Sent, Bin, Deleted Messages etc. Incidentally I do note that some of the folders in my personal folders are not nested in the correct place - they are showing at the top level when they are actually subfolders.
-
@DavyLJones That is an M3 label, not a GMail label. If you look at the webmail interface on line, you will not see such a label. You will only see [IMAP]Archive.
M3 is a quick easy way to refer to Vivaldi Email inbuilt client. It's the next evolutionary step after Opera's old inbuilt email client, M2.
-
@DavyLJones So I just removed all labels from 3 emails in one of my GMail accounts, using the webmail interface. They show up in All Mail in that account and nowhere else.
I installed a fresh instance of Vivaldi and set up that account, and it fetched, displayed, and searched everything, including those 3 emails. It did that without my doing anything other than setting up the account.
I can only conclude that something is somehow very broken/corrupted in your Vivaldi Mail setup. It should simply be fetching, showing, and searching and retrieving everything without your having to take any exceptional measures at all.