display alert "Could Not Get Selected Messages" message ("The script could not obtain a list of selected messages from Apple Mail." & return & return & "Error Message: \"" & errorMessage & "\" (" & errorNumber & ")" as text) as critical buttons {"Quit"} default button "Quit"