Polymorph: Zak Greant's Blog

Creating iCal events from messages in Mail.app

I just wrote a small Applescript that creates one iCal event from every selected email in Mail.app.

If attempts to run the script fail, grab the source here, open up the Script Editor, paste in the source and then save as a .app

Terse use instructions follow:

email2ical creates one iCal event for every selected email message in Mail.app

The summary of the event will be taken from the subject of the email message, while the description of the event will be taken from the body of the message.

To get the most from the script, you will need to open it in the Script Editor and customize it.

Each event is created EventOffset after the current date and time (rounded down to the current hour) and lasts for EventDuration

Event alarms are created at AlarmOne and AlarmTwo minutes before or after the event (use negative integers for an alarm before the event start)

Customize EmailAddress2calendar. If entries in EmailAddress2calendar can be matched to one of the email addresses the message was delivered to, then the event will be created in the corresponding calendar.

Note: Partial matches are valid.

Set DefaultCalendar to a reasonable value that can be used if an address is not found in EmailAddress2calendar.

Tags: , ,

Related posts


Posted on Wednesday, November 30th, 2005 at 8:13

You can follow any responses to this entry through the RSS 2.0 feed.

You can leave a response, or trackback from your own site.

One Response to “Creating iCal events from messages in Mail.app”

  1. Dave (2 comments) Says:
    October 21st, 2008 at 18:35

    Hey - just came across this (I know this post is a few years old) - looking for a script to do what you describe here but the link to the source code seems to be broken - any chance you could email it to me or direct me to the right url?

Leave a Reply

Polymorph is powered by Wordpress running on Apache, Ubuntu Linux, MySQL and PHP.

The marvelous illustration of the Mad Hatter is by the late, great John Tenniel.
Like many great parts of our culture, it is in the public domain.

Contact: zak@greant.com | Gnu Privacy Guard Key

Entries (RSS) and Comments (RSS)