missuo/GmailValidChecker ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python tool called GmailValidChecker that checks whether a Gmail address looks active or not.

I want two modes. In the simple mode, I can pass in a Gmail address and it should tell me either Alive or Unregistered. Alive means the account seems to exist and be used, and Unregistered means it looks like the address does not exist or is blocked. In the enhanced mode, it should be better at telling when something is truly unregistered, and it should work through Chrome without showing a browser window. If possible, save the results to a result.txt file too.

Make it easy to use from another Python script, and let me scan lots of Gmail addresses in a loop if I want to. Keep the setup simple, and if you need current details for Gmail or Chrome automation, look up the latest docs online.