Drag and drop component fron uipath ie.Get Outlook Mail Messages and by default inbox folder is mention just pass variable in output ie.messages which will give u in list of mailmessages and then do for each and u will get item.subject,body etc.
ok Thank you