Is it possible to use apple script in mail to sort newsletter by updating a rule when I put a email for training in a specific mail folder?
- in mail is a folder named "trainNewsletter"
- in mail / rules is a rule "Newsletter" witch move mails into the folder "Newsletter" with
- specific from-mail-address
- if there is a mail in the inbox witch from-mail-address is not in the rule "Newsletter" the mail stays in the inbox
- I move the mail to the folder "trainNewsletter" an the script add the from-mail-address to the rule
- next time I get an mail with this from-mail-address it moves direkt to the folder "Newsletter"
I'm not sure if moving the mail to another folder will trigger the rule appended to this folder, but maybe you can trigger this rule manually if needed:
Save this as a new mail rule and connect it to your folder trainNewsletter, it should get the email's
sender
and add it as afrom is equal to
-rule condition to your rule Newsletter:Enjoy, Michael / Hamburg