Change unread message color in Mail
I found an Applescript that sort of does what I want:
tell application "Mail"
set background color of (messages of inbox whose read status is false) to red--unread
set background color of (messages of inbox whose read status is true) to none--default read
end tell
However, this script will not work if you change "background color" to "text color". It also changes the text color of the read messages in the preview pane to black when it runs the second part and I can't figure out a way to make the text a different color. I have a rule set up to set the color of text to a specific account, but the script overrides the rule.
Any suggestions on how this can be done?