Fetch Mails in Core PHP
Create an Core php app on console (https://console.developers.google.com).
Download Google Client library from the following link (https://github.com/googleapis/google-api-php-client)
Download the file of credentials(client_id,client_secret) and put it in the project directory.
Create Read more…