Help with retrieving messages from GMail account in Mail.app
Help with retrieving messages from GMail account in Mail.app
- Subject: Help with retrieving messages from GMail account in Mail.app
- From: John Kane <email@hidden>
- Date: Wed, 29 Jun 2011 21:19:40 -0600
I am a complete AppleScript noob here (though I have plenty of programming / scripting experience)
I want to walk through my GMail account in Mail.app. I, unfortunately, want to iterate through all of the messages in All Mail (of GMail) looking for messages that match a specific set of criteria.
Here is where my noob-ness shows. What I have so far is:
tell application "Mail"
tell account "Gmail"
tell mailbox "[Gmail]/All Mail"
set allMessages to every message
end tell
end tell
end tell
This "works", but it of course times out (I have >250,000 messages here). The timeout is on the "set allMessages ..." statement.
Is there some way to do this without creating a list of all messages?
Any other approach that can work?
An IRC channel?
Thanks in advance!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden