Unable to store all gmail emails into List<MailMessages> variable

Thanks @Manjuts90 & @Uthraa,

But I am trying to Create a Bot which should get triggered when a mail with a specific subject line is received in Inbox. I have gone through the link Option Strict On disallows late binding
from Mr.RishiVC1 he was doing the same using Outlook.

Please find my workflow screenshot below.