how Create a process model which will connect to your personal email id andMake it to count the number of unread mails in your inbox andUse process model to send a mail to hr
Discussion posts and replies are publicly visible
You're unlikely to get a full answer here for such a broad question. We'd need more details such as what mail service you're using.
If it is Office 365 then Microsoft Graph has amazing APIs available and you'll be likely get something to work.
https://docs.microsoft.com/en-us/graph/api/resources/mail-api-overview?view=graph-rest-1.0
The only hard part about your request is querying the mailbox so start there and see if you can solve that.