Fetching gmail inbox mail messages via CDO in vba excel
I would like to access the inbox in a gmail account using CDO in VBA. I have already managed to send a mail message but do not know how to fetch the inbox messages into an excel sheet. If possible I would like to be able to identify the tags of each message as well. Tim Hall While the question asks for CDO in particular, from this similar SO question it doesn't look like this is possible directly with CDO. As an alternative approach to fetching inbox mail messages, Google has recently released a Gmail API that could be consumed with Excel. Below is an example using VBA-Web : ' Setup client and