AppleScriptをトリガーする電子メールの本文を取得しようとしています。テストメッセージを保存しましたが、[ルールの適用]をクリックすると、次のエラーが発生します。
「<>の<>ID9574の<>「INBOX」の<>「Gmail」をタイプ<>にすることはできません。」
編集:コードの関連部分は次のとおりです。
using terms from application "Mail"
on perform mail action with messages messageList for rule aRule
tell application "Mail"
repeat with thisMessage in messageList
try
say content of thisMessage
on error errMsg
display alert errMsg
end try
end repeat
end tell
end perform mail action with messages
end using terms from