Over the course of writing Mail Scripts, I learned a good deal about the quirks and features of AppleScript in general as well as relating to Mail. In addition to the suite of AppleScript Studio applications released a Mail Scripts, I also write a few other small scripts. Since they have no nice interface, or not localized into anything other than English and might not work on system 10.3.x like Mail Scripts, I decided to no package them with Mail Scripts but rather release them as individual scripts. I hope that these scripts are useful to others.
This scripts are distributed as simple *.scpt files which are fully editable (which means you can screw them up yourself if you wish to do so...). You can run them either from the Script Editor or add them to the script menu (which you can make visible using the "AppleScript Utility" located in /Applications/AppleScript/) - the best location for the scripts would probably be ~/Library/Scripts/Applications/Mail.
This AppleScript for Mail will take one or more selected digest messages (messages formatted as either multipart/digest (MIME digest) according to RFC2046 or simple digest as defined by RFC1153) and extract the individual messages from the digest message - this is especially useful if you are subscribed to a mailing list in digest format but want to reply to a single message in the digest rather than the digest message itself. The individual messages will be moved to the same mailbox as the original digest message and the temporary Import folder will be deleted (note that the root "Import" folder currently cannot be deleted due to a bug in Mail's AppleScript implementation). When running the script for the first time, the user can choose whether or not to delete the digest message upon successful extraction of the individual messages.
The script creates a temporary 10.3-style *.mbox folder for each digest and then uses Mail's "import Mail mailboxes" command to import these (note for fellow AppleScripters: the import command requires a POSIX-style path as its argument and expects mailboxes of this exact format - it will not display any error if it fails to import a mailbox).
Download script (36kB)
.Mac mail allows you to set up up to five email aliases for your account which is a great feature if you need temporary throw-away email addresses. However, when using these aliases from Mail, they all will display your full name as defined for the main account - something that might not be what you want at times. A story on MacOSXHints gave instructions on how to manually change Mail's preferences file to add individual full names to each of the aliases. Since messing with system files directly is never a good idea, I wrote a little AppleScript which will do the required changes for you.
This script gives a good example on how to manipulate property lists (plist files) using the commands available in the Property List Suite in the System Events dictionary.
Download script (12kB)
I wrote these scripts for my own personal use and they work for me. The scripts are provided "as-is" and I don't take any responsability for the integrity of your data.
These scripts are distributed free of charge - I decided to make them available for the Macintosh community. I have a day job and I will still survive if nobody sends me money - I am happy with hearing that I saved someone's day with my little scripts. However, donations are not turned away;-) - you can make a secure donation through the PayPal system.
These scripts may not be redistributed via the web or any other electronic media except with explicit written consent by the author.