Webhook to listen to registered users email - for a CRM application

Mark Cooray 0 Reputation points
2025-06-30T03:33:59.8533333+00:00

I am looking to integrate Azure Mail service with an application. I have an endpoint that I would like ot configure in Microsoft so that the endpoint can listen to any emails that come through under a specific user (microsoft user) that is registered with our app.

I want to be able to bring down emails and categorise them same a CRM

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,969 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shree Hima Bindu Maganti 4,925 Reputation points Microsoft External Staff Moderator
    2025-07-03T04:50:59.9533333+00:00

    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:

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.