As a FYI, google has safeguards in place to prevent automated searches as you describe. A handful of searches via automation probably will not cause problems for you, but a "large text file"'s worth of searches may cause google to prevent you from conducting searches.
Thanks, the text file would be large but the emails maybe around 100-200
100 automated queries would probably be frowned upon by google.
I created a
bot that uses a headless browser (the
code) if you wanted an example code.
Your project would not be difficult, however your budget is low, and your output would violate the TOS of google. If you wanted to increase your budget by ~10x, and change your requirements to a search engine to one that allows automated queries, I could help you. Otherwise, feel free to review the above code for somewhat of a guide for using a headless browser, which should be the most difficult part of your requirements.