Thank you Victor & John
Unfortunatluy my question is not to send a mail via gmail.
i want to query my gmail inbox periodically for all mails received (contents as list or cursor or feeds for ex....).
with a timer or scheduler this list can be fired as alert on my PC....all controled from vfp9
Actually this is done in windows10 in information center (if enabled) (icon on right of the traybar).
i googled and found this link (PHP ):
https://davidwalsh.name/gmail-php-imap