How To Use the mail script!

Installation:

Edit the script file to indicate the calendar you wish to set to-do items to.  This must be an exact name, Capitalization counts here!

You may also set the number of days in advance you wish to have the to-do item due by editing the number using the directions in the comments of the script.

Place the file ToDoFromEmail.scpt in your preferred folder where the script won't be moved.  I used ~/Scripts/ (you may use any folder for this)

Open mail and navigate to the Preferences.  Go to Rules and add a new rule.  Follow the screenshot for an example of a configuration you can use.

It is highly recommended that you send to a specific email account or use a specific subject to filter and also filter based on sending email address (so others can't add items)  I used my cell phone's text messaging address to send to a specific email address.  You can duplicate rules to allow multiple addresses to send to the to-do list this way.

Use:

Simply send an email that matches the criteria you set in the rules to activate the applescript.  (In my case, I'd send a message from my phone to a special email I set up)

When the script runs, it will take the first line of the message body and set it as a new to-do item in the calendar you defined (default being "Personal") with a due date x many days in the future (default being 1 day).

Changelog:

v.1.0 -
	> Script Written

Known Bugs:
	> No bugs known at this time

Legal:
	> Script copyright 2008 Callen Magnuson
	> You may modify this script and distribute it freely, but please give me credit for my work.