Is it possible to get all of my emails from your GMail inbox rather than only unread email? My current PHP script only gets unread email but I want the whole inbox.
I am making use of PHP and CURL. Firstly, is it possible to do this?
If so, can someone give me some hints on how to achieve this?
Use an IMAP API.
See: Fetching attachments from gmail via either python or php