Thank you very much for your quick reply.
Failed how, exactly?
I've corrected dotted unit names but I don't have REST.Authenticator.OAuth module.
As I wrote before I've tried to install "MARS-master" REST library with no success.
In fact my problem is with Office365 mail, but I think is similar to Gmail.
I've tried in my home Office365 trial account App-Specific password erlier and it works very well. But my University net admin did not allow 2-Factor Authentication.
Yesterday I downloaded and installed the latest INDY package, but I didn't notice this version of Oath2. I've installed it today.
I don't know if I can handle the next steps you described. I'm afraid this may not be easy.
I will try.
Thank you again,
J23