Please enable JavaScript.
Coggle requires JavaScript to display documents.
COPILOT EMAIL MANAGEMENT AGENT - Coggle Diagram
COPILOT EMAIL MANAGEMENT AGENT
USER REQUEST
"Find unread emails from my manager and summarize them."
User opens Microsoft Copilot
User submits prompt
CONTEXT & PERMISSIONS
Read conversation context
Check connected Outlook account
Use only authorized mailbox access
Is Outlook access available?
No → Ask user to connect or grant access
Yes → Continue
SELECT TOOL
Choose Outlook / Microsoft Graph connector
Prepare query: isRead = false
Add sender filter
CHECK SEARCH RESULTS
Were matching emails found?
No → Tell user no matching unread emails were found
Yes → Continue to summarization
Handle connector errors or expired permissions
Retry or ask user to reconnect if needed
VALIDATE OUTPUT
Check summaries against retrieved email content
Check sender and unread filters
Avoid inventing missing details
Is the summary accurate and complete?
No → Re-check source emails and revise
Yes → Prepare response
OPTIONAL FOLLOW-UP ACTION
Does user request a reply?
No → End task
Yes → Draft reply for review
Show draft to user
Ask for approval before sending
Did user approve sending?
No → Edit draft or stop
Yes → Send through Outlook and verify sent status
INPUT UNDERSTANDING
Identify intent: search and summarize emails
Extract filters: unread + sender = manager
Are the instructions clear?
No → Ask who the manager is / clarify date range
Yes → Continue
PLAN THE TASK
Create search plan
Find manager identity or sender address
Search unread messages
Filter messages from manager
EXECUTE SEARCH
Call Outlook search tool
Retrieve matching email metadata and content
Collect subject, sender, date and body
SUMMARIZE EMAILS
Group emails by topic or urgency
Summarize each email
Extract deadlines, requests and action items
Preserve links or key details where available
RETURN RESULT
Show number of matching emails
Display subject, sender and date
Provide concise summary for each email
Highlight action items and deadlines
Ask whether user wants a draft reply
COMPLETION
Report search and summary completion
If approved, confirm email was sent
End