![Thunderbird logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2024-02-12-07-36-53-599028_1.png)
Move messages in batches
I need to move 150k messages from one local folder (Inbox) to another (Imap Inbox). If I try to do it for a lot of emails at a time it fails. This probably has to do with Google cutting it off. Is there a fairly easy way to automate this?
I had a couple ideas but hit walls with them. For example, a filter run every 10 minutes that got x emails. However, TB doesn't support limiting the # of messages in a filter that I can see. I looked at Filtaquilla which provides more filtering options. I was thinking if it could do something like cycle by blocks of dates or something that could work.
All Replies (2)
There's no easy way I know of to upload mass numbers of messages to an IMAP folder. The limit on Google accounts is believed to be 500MB per day, but you would still have to upload small batches at a time.
If you really need access to these messages on other computers, consider copying the mbox file for the folder to Mail/Local Folders in the profile folder of the other devices.
That isn't really what I am trying to do. In order to clean up my gmail account with 200k emails, I downloaded an MBOX and ran an analysis on it using GREP and deleted a bunch of emails and emptied the trash. I was overzealous and deleted stuff I shouldn't have. I am attempting to put these emails back now going from MBOX to gmail via IMAP in Thunderbird.
One thought I had is FiltaQuilla using a Javascript script. I just don't know if it will work and I don't know the TB API.
Modified