Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Microsoft Graph does not currently support filtering notifications at the subscription level based on the email subject. The $filter query parameter can be used to refine notifications, but it does not allow for filtering based on the subject of incoming emails in the way you described. Therefore, you will need to handle filtering on the server-side after receiving the notifications for all incoming emails.
This means that your current approach of subscribing to all messages and then filtering them based on the subject after receiving the notifications is the only supported method for this scenario.
For more information on how to set up notifications and the limitations of subscriptions, you can refer to the Microsoft Graph documentation on change notifications.
References: