Apple Script Rule to move Read mail to folder in Mac.mail
I'd like write an apple script that sould allow me to real all emails that arrive in mail under Inbox as they currently do. 5mins after reading/closing or opening anoter mail, the script is activated and moves mails under the rules I have set... I mean into different specific folders automatically. I would like to set a Mail rule to do this but can't find a way. The only way I guess is through a script.
Any tips appreciated.
Please note: I don't know how to go about apple script but I am ready to learn.
MacBook Pro 13″, macOS 14.0