Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Dynamics 365 Customer Service, Dynamics 365 Sales, and Dynamics 365 Field Service
Note
- The tools and examples in this documentation illustrate current capabilities. Tool names, descriptions, parameters, response formats, and available functionality can change over time.
- When you build agents, integrations, or orchestration logic, don't hard-code dependencies on specific tool names, parameter structures, tool metadata, or response schemas. Instead, design your solution to discover and use available tools at runtime.
- As the platform evolves, Microsoft might add, remove, rename, or modify tools and tool metadata. Designing against capabilities rather than specific tool identifiers helps maintain compatibility across service updates.
Use this capability when you want to read the full content of an email—its subject, body, sender, and recipients—directly in chat.
What it does
The assistant fetches a specific email from Dynamics 365 and displays it inside chat. You can see the full email body, who sent it, who received it, and which customer account it's linked to. A link to the email in Dynamics 365 is also provided.
Try prompts like
- Open the email from the customer.
- Show me that email.
- What does the email say?
- View the email about the login issue.
- Read the latest email on this case.
- Open the unlinked email.
What you'll see in chat
The assistant displays the email as an app-in-chat component showing the full email body, subject, sender, recipients, and timestamps. A direct link to the email in Dynamics 365 is included.
For received emails, the viewer also lists up to 50 ordinary file attachments by filename. This list provides metadata, not file downloads. Select Open in Dynamics in the attachment section to open the parent email and access its files there. If there are more files, the viewer directs you to Dynamics for the rest. Inline images remain part of the email body.
Helpful tips
- If you don't know which email to open, say "show me the email about [topic]" or "find the email from [person]" to search first.
- You can reply directly from the email view—just say "reply to this email."
- If the email body appears empty, it means the original email was sent without body content.
Tip
After viewing an email, you can take action on it. Say "reply to this email" or "forward this to my manager." Customer Service users can also say "link this to the case" or "create a case from this email."
What happens next
After the email appears, you can continue with prompts like:
- Reply to this email.
- Forward this to my manager.
- Summarize this email.
- Link this email to the case or create a case from it (Customer Service only).
Does this change data?
No, viewing an email doesn't change data.
This only reads and displays the email content. Replying, forwarding, or linking are separate actions that may change data.
What you can do from the app-in-chat component
From the email view in chat, you can:
- Read the full email body and metadata.
- See sender and recipient details.
- Open the email in Dynamics 365.
- Reply, reply all, or forward the email.
- Link the email to a case or create a case from it (Customer Service only).
Prerequisites
This tool requires the following:
Learn more in Configure email.
Tool summary
| Property | Value |
|---|---|
| User-facing name | View email |
| Internal tool name | view_email |
| Purpose | Fetches and displays the full content of a Dataverse email activity—subject, body, sender, recipients, and linked customer account |
Tool behavior
Fetches and displays the full content of a Dataverse email activity—subject, body, sender, recipients, and linked customer account. Returns the body as plain text in structuredContent.body and a direct Dynamics 365 deep link in structuredContent.deepLink. Use for reading or reviewing any email by its activityId GUID.
Annotations
| Annotation | Value | Meaning |
|---|---|---|
readOnlyHint |
true |
This tool doesn't modify data. |
destructiveHint |
Not set | Not applicable (read-only tool). |
idempotentHint |
Not set | Not applicable (read-only tool). |
openWorldHint |
Not set | Uses default (queries Dataverse). |
Input concepts
Email identifier
| Input | Description | Required |
|---|---|---|
activityId |
activityId (the Dataverse email activity GUID to view, required). |
Yes |
Response and UI behavior
This tool renders an interactive email view.
This MCP tool is supported by an MCP app.
Response type
Interactive component (app-in-chat)
The widget displays the email subject, body, sender, recipients, timestamps, and linked customer context. A Dynamics 365 deep link is provided for navigating to the full email form.
Received-email attachments
Ordinary attachment enrichment runs for the rendered received-email view, not reply-prefill reads or draft editing. It returns metadata only, without ordinary file bytes or download credentials.
| Response field | Meaning |
|---|---|
structuredContent.attachmentSummary |
Model-visible text summary of filenames and download availability. |
structuredContent.hasMoreAttachments |
More ordinary attachment rows exist than the 50-item display limit. |
structuredContent.attachmentsFailed |
The attachment list could not be loaded; this isn't an empty-list or permission-denial result. |
_meta.attachments |
Widget metadata containing attachment ID, filename, optional MIME type, and download status. |
_meta.hasMoreAttachments, _meta.attachmentsFailed |
The same overflow and list-failure indicators for the widget. |
The widget distinguishes these downloadStatus values:
| Status | Meaning |
|---|---|
unsupported |
Authorized metadata is available, but this path doesn't provide a direct download. Use Open in Dynamics. |
denied |
Attachment authorization refused access. No download link is supplied. |
undetermined |
A dependency failure prevented an authorization decision. This isn't a permission denial, and no download link is supplied. |
available |
The widget contract supports an existing direct link when supplied; ordinary-file enrichment doesn't issue one. |
If an attachment dependency fails or the shared five-second deadline or six-read budget is exhausted, the email body remains readable. The viewer reports an unavailable list or an undetermined file status rather than treating the failure as a permission denial. A caller-cancelled request instead remains a cancellation; it isn't converted to a loaded email with an attachment warning.
The attachment action uses a safe HTTPS parent-email link. It navigates through the connected host when available; outside a connected host, it opens a new tab. If connected-host navigation fails, the viewer announces the failure instead of silently opening a new tab. Missing or unsafe links aren't offered as attachment actions.
Routing notes
Use view_email for:
- Open the email, show me the email, what does the email say.
- Viewing any email by activityId.
- Reading an email before replying or forwarding.
Don't use view_email when:
- The user wants to search for emails without a known activityId—use
list_emails. - The user wants to compose a new email—use
draft_email. - The user wants to edit a draft—use
edit_email_draft.
Related tools
| Tool | Relationship |
|---|---|
list_emails |
Searches emails by subject or sender to find the activityId |
draft_email |
Opens compose form for a new email |
edit_email_draft |
Opens an existing draft for editing |
send_email |
Sends an email immediately |
link_email_to_case |
Links the viewed email to an existing case (Customer Service only) |
create_case_from_email |
Creates a new case from the viewed email (Customer Service only) |
match_cases |
Finds existing cases that may match the email (Customer Service only) |
Data mutation classification
Read-only.
This tool only reads and displays email data. No data is modified.