How to accept invitation letters in outlook?

How to respond to letters that have a calendar feature?
I have a folder with emails, some of them are regular emails (need to delete them) and some are invitations (need to accept them).

I don’t know how to distinguish them and how to accept them.

P.S. Our enterprise doesn’t allow Office365 package so it won’t work, do you guys have any solutions?

You can read the emails using UiPath as long as Outlook is installed on the machine running the automation. GetOutlookMailMessage, I believe it uses UiPath.Mail as its dependancy

you can use the below vb code

Sub AcceptMeeting() 
 Dim myNameSpace As Outlook.NameSpace 
 Dim myFolder As Outlook.Folder 
 Dim myMtgReq As Outlook.MeetingItem 
 Dim myAppt As Outlook.AppointmentItem 
 Dim myMtg As Outlook.MeetingItem 
 Set myNameSpace = Application.GetNamespace("MAPI") 
 Set myFolder = myNameSpace.GetDefaultFolder(olFolderInbox) 
 Set myMtgReq = myFolder.Items.Find("[MessageClass] = 'IPM.Schedule.Meeting.Request'") 
 If TypeName(myMtgReq) <> "Nothing" Then 
 Set myAppt = myMtgReq.GetAssociatedAppointment(True) 
 Set myMtg = myAppt.Respond(olResponseAccepted, True) 
 End If 
End Sub