I wish to download all emails and put it within a .txt file. Then I want to send selected emails to selected people using any keywords in the email

Hi, I am planning to use selenium to solve the automatic downloading of .csv file from gmail. While I am preparing for this I thought to make it as an extension as well.

The extension will generate seleniun code by getting user input OR the extension may trigger the laptop or desktop to perform automation tasks if it (laptop/desktop) is set as server and prepared with all settings after installing Java, webdriver, flask etc.

Now im facing an error ' ‘ant’ is not recognized as an internal or external command' ...

Can you help me to solve this, so I can automatically download .csv file using my app by triggering the laptop-server?