I had a script which would find all messages based on a email address and moved them to the correct sub folder on my iCloud. However since 10.9 the script no longer works.
tell application "Mail"
tell inbox
set mess to messages whose sender contains "roel"
end tell
tell account " ACCOUNT NAME "
move mess to mailbox "Friends_family"
end tell
end tell
It gets all the messages, however it gives a error when i try to move it. Has anybody got any ideas?
Thanks