In order to read the emails from gmail account , please refer the below link :
Once implementing the above steps . (I have provided just for your reference purpose ).
Now using the activity will read out the mails and the return type would be a list of mail messages .
Get IMAP mail messages activity output .
Sample workflow :
Properties Pane :
One can use the body , use further string manipulation methods to fetch any value as per your requirement.
Similar you can fetch value from Headers of the mail . You can explore many option from “item” as it is of type “System.net.mail.mailmessage” .
The type defines all the .net methods/ properties of mails.
Use the same value further in your project to implement automation .