This will help you get the EA Security Code from your Gmail account and store it in a variable for further use H1
You need to register/create client id and client_security json file at
Under credentials create an OAuth file for your code
This will grant access to your gmail account
Then you need to add the client_secret.json file into you C# code
Right click on the json file - then select properties -> copy to output directory -> copy always
For more explanation please check here
PS. first code I've partly written, very happy now!