Faites parler Mail
source : Mac OSX Hints
using terms from application "Mail"
on perform mail action with messages newMessages
repeat with newMessage in newMessages
tell application "Mail"
set senderName to (extract name from sender of newMessage)
say "You’ve just received an email from " & senderName
end tell
end repeat
end perform mail action with messages
end using terms from
on perform mail action with messages newMessages
repeat with newMessage in newMessages
tell application "Mail"
set senderName to (extract name from sender of newMessage)
say "You’ve just received an email from " & senderName
end tell
end repeat
end perform mail action with messages
end using terms from