property blank_line : " " using terms from application "Mail" on perform mail action with messages theMessages for rule theRule tell application "Mail" repeat with thisMessage in theMessages set theSubject to subject of thisMessage set theSender to sender of thisMessage set theAccount to account of mailbox of thisMessage set theContent to content of thisMessage try if (theSubject is "" and theSender is "") and (theContent = blank_line or theContent = "") then set mailbox of thisMessage to mailbox "Trash" of theAccount end if end try end repeat end tell end perform mail action with messages end using terms from