Can automator do this good sirs?

1) Fetch keywords or phrases from a mail message (based on the subject line, or something in the body of the text, whatever it takes.)
2) Launch Google, and set up some advanced search parameters (like language and date)
3) Use the previously fetched keyword or phrase and do a google search
4) Copy all URLs from first five pages of results.
4.1) Or as an alternative, open all pages in tabs, and then fetch the links using the pretty neat copyallurls add-on for firefox.

Feedback much appreciated, thank you!