Mail Scripts For Mac Publisher's description
from Andreas Amann
Free AppleScripts for Mail.app
MacOS X's Mail and Address Book have large AppleScript dictionaries which allow almost every aspect of these programs to be scripted. Since some features are rather cumbersome in the standard implementation, I decided to write some scripts to ease workflow. I started writing the scripts after the release of MacOS X 10.2 (Jaguar) and made several improvements and additions over time. After the release of MacOS X 10.3 (Panther) all scripts have been completely rewritten as AppleScript Studio applications allowing for many additional features.
Mail Scripts is a collection of AppleScript Studio applications for Mail and Address Book offering additional features or simplified workflow. Mail Scripts consists of the following scripts:
Add Addresses (Mail)
Add addresses found in the selected messages (in the header fields "From", "To", "Cc", "Bcc", and "Reply-To") to the Address Book. This is much more flexible than the "Add Sender to Address Book" available in Mail and provides a convenient way for creating mailing lists.
Archive Messages (Mail)
Move messages from the selected mailbox(es) to an archive mailbox or export them to standard mbox, plain or rich text files for backup purposes or import into other applications. You can select to move all messages or only messages sent within or certain period as well filter messages based on their read and flagged status.
Change SMTP Server (Mail)
Switch between different already defined SMTP servers or define a new one. This is especially useful if you are using your computer in more than one location and have to switch servers for several accounts at once.
Create Rule (Mail)
Create a new rule based on the first of the selected messages. This saves you the trouble of copy/pasting address or other info between the message and the rule window and provides a much quicker way for setting up a rule with multiple criteria/actions.
Remove Duplicates (Mail)
Locate all duplicate messages found in the selected mailbox(es) and move them to a separate mailbox for easy removal (on 10.4 and higher, duplicate matching is based on the message source, on 10.3 it is uses the unique message header "Message-Id" for initial matching).
Schedule Delivery (Mail)
Allows you to send individual messages at predefined times (this script uses iCal for scheduling message delivery).
Send all Drafts (Mail)
Immediately send all messages in the "Drafts" folders for all accounts. This saves you from having to open each draft in order to send it.
Open Mailbox, Open Message (Mail)
Two small faceless scripts which will open mailboxes with new messages or the new messages themselves when run as a rule action.
Filter Sent Messages (Mail)
Another faceless scripts which will apply your rules to the messages in the "Sent" mailbox.
Export Addresses (Address Book)
Export addresses from the Address Book into tab-delimited text files. You can select which groups and which fields you want to export.
Search Addresses (Address Book)
Find all addresses inside the Address Book matching one or more criteria. As opposed to the "Search" function built into the Address Book, this lets you search in any field as well as for empty and non-empty fields (Note: due to a bug in the Address Book's AppleScript implementation, "First Name" will always return a non-empty value for system versions of at least up to 10.3.2 - I have reported this bug to Apple and hope that they fix it with the next system update).
As an example, you might use this script to search for all phone numbers with a certain area code in order to update your contacts after an area code change.
What's New in This Release:. (Schedule Delivery, Send all Drafts): fix issue with "The message cannot be sent using the server (null)" appearing when trying to send a message from a IMAP account.
. (Remove Duplicates): adapt the script to work correctly for mailboxes located on an Exchange account.
System Requirements:No special requirements.
Program Release Status: Minor Update
Program Install Support: Install and Uninstall