migrate older e-mails to local mailbox

3 views
Skip to first unread message

Tamas Papp

unread,
Nov 25, 2025, 3:20:08 AM (8 days ago) Nov 25
to mu-discuss
Hi,

Gmail is bugging me about my mailbox getting full. I thought I would
migrate older (eg pre-2020) emails to a local mailbox (of course backed
up), and have mu index that too.

What would be the best way to do this (the migration, not the indexing;
I know how to do the latter ;-)). Is there a script I can use?

best

Tamas

Alberto Luaces

unread,
Nov 25, 2025, 9:02:11 AM (8 days ago) Nov 25
to mu-discuss
From the very mu4e, I move those emails to a new mailbox folder (created on the
fly if needed, if I recall correctly) that is not synced.

You can test it with just one message, copying it first.

Tamas Papp

unread,
Nov 25, 2025, 9:13:07 AM (8 days ago) Nov 25
to Alberto Luaces, mu-discuss
On Tue, Nov 25 2025, Alberto Luaces wrote:
Thanks, but I was hoping for a more automated solution (talking about
30k messages). Eg search for all messages before a given date in
mailbox, move them to a given folder.

best

Tamas

Alberto Luaces

unread,
Nov 25, 2025, 11:32:59 AM (8 days ago) Nov 25
to mu-discuss
Yes, that's what I'm suggesting. You search them, you mark them, you
move them.

I only wrote about a simple test before you move those 30k messages.
Reply all
Reply to author
Forward
0 new messages