Getting help with Apple Scripts and Smart Mailboxes in the Mail.app
Hello I need to prioritize different customer accounts daily. Each account based off sender's e-mail address is forwarded to the correct mail box ex. Example.com(IMAP) > Customers > A > Alpha Corp and Example.com(IMAP) > Customers > B > Bravo Corp. Everyday my manager sends me a list of customer's to prioritize and I edit my Smart Mailbox to have the new mailboxes per "Message is in Mailbox" "Name of Mailbox" and I have to do that 20+ times in the morning. Because of the different levels of mailboxes and the number of clients I have to sort this gets kind of crazy. Is there a way to use Apple Scripts or Automator to do this for me once I get my list?
two resources I've found were
http://stackoverflow.com/questions/2143420/using-applescript-to-create-a-smart-m ailbox
http://hints.macworld.com/article.php?story=2007013108412588
But neither of them are really what I'm looking for and there isn't an easy way to change them to add the correct companies and folders in there. May a search based off a text document or something? Please help I'm losing my sanity here.