![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
Apply filter only to specific Folder
Hey!
Is there a way to apply Message Filters only to a specific folder of the mailbox?
I have a filter that moves emails from my Gmail mailbox to a Local Folder. It works well.
However, if the same email gets downloaded to the "All Mail" folder of the same Gmail mailbox, it gets moved as a duplicate to the same Local Folder. (all Gmail mailboxes have this "All Mail" folder)
I have unsubscribed from the "All Mail" folder, as an attempt to resolve this issue.
However, if I go on the Gmail website, delete the email from "All Mail", it moves that email to the Trash. Then, once Thunderbird downloads that email in the Trash folder, the Message Filter applies, and the duplicate is moved again to the Local Folder.
--
I believe the only way to resolve this is if I could select "Inbox" specifically, for the Message Filter.
So my question is whether it's possible (maybe with an addon) to select which folder I want a specific Message Filter to apply to.
Thank you!
Усі відповіді (4)
My suggestion is to ignore AllMail . That is administered by Gmail and is a duplicate of the messages in other folders. Attempting to manage Allmail will fail. I always suggest unsubscribing from it.
Thank you @david. As I said above, I unsubscribed "All Mail".
However, I don't want to keep my emails forever in Gmail, so I periodically go there (on the website) and delete all emails from there (because they remain there even if I already moved everything from the Inbox to the Local Folders), but once they get to the Trash, Thunderbird triggers the Message Filters.
Hence I'd like to make Message Filters apply only to Inbox.
Moving messages is not the same as deleting them; that's why AllMail retains them. IMAP accounts 'own' the messages whether online or in local folders. If you want messages on PC and not online, then I suggest you make a new folder in Local Folders, then COPY desired messages there (or use filter for that), and then delete from account. That lets you have messages locally and not in Gmail.
Separately, filters just act on inbox, so you're okay there. If you have other online folders, you can rightclick and select properties and confirm that they are not checked when retrieving messages.
> Separately, filters just act on inbox, so you're okay there.
Pretty sure that's not how Thunderbird behaves for me.
That's why I had to unsubscribe "All Mail" in first place. Because, Thunderbird was moving emails to Local Folders in duplicate, one from "Inbox", and another from "All Mail". And the same is happening now once it goes from "All Mail" to "Trash" (when I delete in the Gmail website, from All Mail).
> If you want messages on PC and not online, then I suggest you make a new folder in Local Folders, then COPY desired messages there (or use filter for that), and then delete from account.
Not sure I fully understood this process. But it seems a lot more complicated workflow, than just hoping that an "Apply Message Filter only to Folder:" option is implemented in Thunderbird. Or through an addon.