In my constant state of trying to make things a bit more efficient for myself. (I’m a big believer in automation, ask anyone that has ever worked with me.) We have computers! Make the computers do work instead of us manually doing things on the computer.
using terms from application “Mail”
on perform mail action with messages selectedMessages
try
log “Starting script execution”
tell application “Reminders”
repeat with theMessage in selectedMessages
try
tell application “Mail”
— Fetch subject and message ID
set emailSubject to subject of theMessage
set messageID to message id of theMessage
— Mark email as read
Content was cut in order to protect the source.Please visit the source for the rest of the article.Read the original article: