I am trying to use Microsoft Graph API with Java to read e-mails and create alerts based on keywords. I have successfully created an application registration with Read mailbox permissions but I am stuck on the part where I can instruct the program to look for certain keywords and create an e-mail notification.