Hi @Mark Cooray
To integrate Azure Mail service with your application and listen for emails associated with a specific registered user, you can utilize webhooks. By subscribing to email events using webhooks, you can configure your endpoint to receive notifications about incoming emails.
Ensure you have an Azure Communication Services resource created in your Azure portal.
In the Azure portal, navigate to your Communication Services resource and select the "Events" section. You can add an event subscription for email events such as Email Delivery Report Received
and Email Engagement Tracking Report Received
.
When creating the event subscription, select "Web Hook" as the endpoint type and provide the URL of your application where you want to receive the email notifications.
Implement logic in your application to process the incoming webhook requests. This will allow you to categorize and manage the emails as needed for your CRM application.
References:
- Handle Email events
let me know if you have any further assistances needed.