Housekeeping for mailbox (reduce mailbox size)

Housekeeping for mailbox (reduce mailbox size)

The mailbox size is increasing over the past 10 years.
It is not possisble for me to upgrade the storage plan every year.
I just need to keep the recent 3 years emails but I don't want to delete old email permantly.
If possible, I prefer to keep the old email in my local drive as a reference.

Any solution/tools and advice for me?
Thanks in advance.