Forum Discussion
Not receiving missed activity email for the messages received from the bot in Teams personal chat
I have enabled MS Teams notification Settings to receive email for the missed activity (unread messages in personal chat). I set my status as offline and logged out from all the devices and browser. Cleared browser cache.
I received an email for the message sent by one of my colleagues in the personal chat (Refer to the attached screenshot below).
Around the same time, I received a message in personal chat from the bot installed in personal scope and team scope (available in the Teams app store). However, I did not receive a missed activity email for the message received from the bot.
How do I enable missed activity emails for the bot messages sent in the personal chat?
- Nivedipa-MSFTMicrosoft
Hello @VipassanaMahale
Currently, Microsoft Teams does not send missed activity emails for messages received from bots in personal chats. This behavior is standard and cannot be altered through any settings within the Teams Toolkit Extension for VS Code or the Teams app itself.
However, here are a few potential workarounds you can consider:
- Custom Notifications: You can develop a custom notification bot using the Teams Toolkit to send email notifications when a bot message is sent in a personal chat.
Create a New Bot Project:- Open Visual Studio Code.
- Install the Teams Toolkit Extension if you haven't already.
- Create a new project using the Teams Toolkit and select "Bot".
Add Notification Logic: - In the bot's code, add logic to send an email using an external service like SendGrid or SMTP when a message is received.
Ref Docs:
- Activity Feed Notifications: Utilize activity feed notifications to alert users of messages from bots, though this won't directly translate to email notifications.
Ref Doc: Send activity feed notifications to users in Microsoft Teams - See also
Thanks,
Nivedipa
------------------------------------------------------------------------------------------
If the response is helpful, please click "Mark as Solution" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.
- VipassanaMahaleCopper Contributor
Reference document Links are not working. Please re-share.
- Custom Notifications: You can develop a custom notification bot using the Teams Toolkit to send email notifications when a bot message is sent in a personal chat.