Download the new Switched app for your iPhone

Skip to Content

Stay up to date with Switched's CES 2010 coverage
AOL Tech

Filed under: Software, How-tos, Productivity

Mail.app rules!

One of the neat things about Mail.app is rules. Rules will perform a specified action if a certain condition is met. These actions include moving, copying, and setting the color of a message, as well as automatically replying, forwarding, and redirecting a message. For example, the "News from Apple" rule, which highlights messages received from Apple in light blue, is included in mail.app by default. Here are a few of my favorite rules.

To create a rule, choose "Add Rule" within the "rules" pane of mail.app's preferences.

When some emails are more important than others
Some emails are more important than others. With this rule, you'll know get a more visual way of discerning which emails may demand more immediacy. Say you're awaiting an email from Stan Sitwell, (CEO of Sitwell Enterprises), about a possible business deal. The following rule will result in the mail.app icon bouncing in the dock when an email from Stan Sitwell, or a high priority, message arrives in your inbox.

  • In this case, "any of the following conditions" should be chosen
  • "From" contains "stan@sitwellenterprises.com"
  • "Priority is high" -Perform the following actions: "Bounce icon in dock"

And then there are the less important emails
Say your brother, George Oscar Bluth (also known as "GOB"), continually asks you to borrow money to help fund his fledgling career as a magician. You're tired of it, and you want any email from GOB that contain the word "money" in it to automatically be filed in a special folder.

  • Here, "all of the following conditions" should be selected
  • "From" contains "gob@bluthcompany.com"
  • "Message Content Contains" "money"
  • In the "Perform the following actions" action, choose "Move Message" to mailbox and choose the folder of your liking

Announce the name of the email sender
Similar to how mom would tell you if Jimmy or Mike was calling on the other line, this mail rule, when combined with an AppleScript that George Sudarkoff put together, will speak the name of the sender of the message as the message arrives in your inbox. What's more, if you have a song playing in iTunes, said song will pause and resume play after the name is spoken.

  • First, launch the AppleScript Editor and copy and paste the code from this page on George Sudarkoff's site. Then, save the AppleScript somewhere on your computer.
  • Now, choose your conditions, as you may not want the names of all senders read along.
  • In the "Perform the following actions" action, choose "Run AppleScript," and select the AppleScript file you just saved.

Automatically queue up torrents
One of my favorite mail-centric AppleScripts that I like to incorporate with rules (via macosxhints) automatically runs an AppleScript when it sees the words "download torrent" in the subject field. To do this, just click on Mail.app's preferences and create a subject-based rule that, when met, will run a AppleScript: that particular AppleScript is downloadable here [download link]. The AppleScript will then launch your specified torrent client (by default, it's Azureus, so you'll need to use the AppleScript Editor to change this if you so desire) and add the torrent file to the queue.

While torrents are often used for illegal purposes, there are many legally distributed torrent files, which often help companies and individuals reduce their bandwidth burden; for example, while at work, I've emailed myself the torrent files for new releases of the iPhone PwnageTool.

As the issue of the legality of torrents and P2P networks may vary depending on your locality, users should abide by their local laws accordingly.

Readers, let us know about some of your favorite rules in mail.app.

jobs & resumes
Mac Support Technician

Kerdan - Cambridge, MA (2 weeks ago)

See More Relevant Jobs ›

Reader Comments (Page 1 of 2)

Add your comments

Please keep your comments relevant to this blog entry. Email addresses are never displayed, but they are required to confirm your comments.

When you enter your name and email address, you'll be sent a link to confirm your comment, and a password. To leave another comment, just use that password.

To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br /> tags.

Tip of the Day

Want to drag a file to another folder and copy it instead of moving it? Press the Option key when you drag that file and it'll be duplicated rather than moved entirely.

Follow us on Twitter!

TUAW [Cafepress] 

Featured Galleries

DNC Macs
Macworld 2008 Keynote
Macworld 2008 Build-up
Google Earth for iPhone
Podcaster
Storyist 2.0
AT&T Navigator Road Test
Bento for iPhone 1.0
Scrabble for iPhone
Tom Bihn Checkpoint Flyer Briefcase
Apple Vanity Plates
Apple booth Macworld 07
WorldVoice Radio
Quickoffice for iPhone 1.1.1
Daylite 3.9 Review
DiscPainter
Mariner Calc for iPhone
2009CupertinoBus
Crash Bandicoot Nitro Kart 3D
MLB.com At Bat 2009
Macworld Expo 2007 show floor

 

Our Writers

Victor Agreda, Jr.

Programming Manager, AOL Tech

RSS Feed

View more Writers

More Apple Analysis

AOL Radio TUAW on Stitcher