Add Communication send email tool#690
Merged
KarishmaGhiya merged 47 commits intomicrosoft:mainfrom Oct 10, 2025
Merged
Conversation
ba21c26 to
4ef8321
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new Communication email send tool that enables sending emails through Azure Communication Services. The implementation includes the service layer, command implementation, options definitions, model classes, and comprehensive test coverage.
- Adds email sending functionality to Azure Communication Services MCP tools
- Implements full email options including HTML content, CC/BCC, reply-to addresses
- Provides comprehensive unit and live test coverage for the new email functionality
Reviewed Changes
Copilot reviewed 17 out of 17 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| CommunicationService.cs | Implements SendEmailAsync method with Azure Communication Email client integration |
| EmailSendCommand.cs | Command implementation for email sending with options binding and validation |
| ICommunicationService.cs | Interface definition for the SendEmailAsync method |
| EmailSendOptions.cs | Options class defining email-specific parameters |
| EmailSendResult.cs | Model class for email send operation results |
| CommunicationOptionDefinitions.cs | Option definitions for email-related command line parameters |
| BaseCommunicationCommand.cs | Enhanced base class with subscription and resource group options |
| CommunicationSetup.cs | Service registration and command group setup for email functionality |
| CommunicationJsonContext.cs | JSON serialization context updates for email models |
| Azure.Mcp.Tools.Communication.csproj | Package reference addition for Azure.Communication.Email |
| Directory.Packages.props | Package version management for Azure.Communication.Email |
| EmailSendCommandTests.cs | Comprehensive unit tests for email command functionality |
| CommunicationServiceTests.cs | Unit tests for communication service email functionality |
| EmailSendCommandLiveTests.cs | Live integration tests for email sending |
| azmcp-commands.md | Documentation updates with email command examples |
| e2eTestPrompts.md | Test prompts for email functionality validation |
96e7514 to
2f6819d
Compare
KarishmaGhiya
commented
Oct 8, 2025
alzimmermsft
reviewed
Oct 8, 2025
JonathanCrd
reviewed
Oct 8, 2025
vcolin7
reviewed
Oct 9, 2025
alzimmermsft
reviewed
Oct 9, 2025
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
Co-authored-by: vcolin7 <vicolina@microsoft.com>
…dOptions.cs Co-authored-by: vcolin7 <vicolina@microsoft.com>
…unication.LiveTests/Email/EmailSendCommandLiveTests.cs Co-authored-by: vcolin7 <vicolina@microsoft.com>
1090ce7 to
7eef84a
Compare
jongio
reviewed
Oct 10, 2025
jongio
approved these changes
Oct 10, 2025
colbytimm
pushed a commit
to colbytimm/microsoft-mcp
that referenced
this pull request
Dec 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Communication namespace - send email tool
GitHub issue number?
[Link to the GitHub issue this PR addresses]Pre-merge Checklist
servers/Azure.Mcp.Server/CHANGELOG.mdand/orservers/Fabric.Mcp.Server/CHANGELOG.mdfor product changes (features, bug fixes, UI/UX, updated dependencies)servers/Azure.Mcp.Server/README.mdand/orservers/Fabric.Mcp.Server/README.mddocumentation/docs/azmcp-commands.mdand/or/docs/fabric-commands.mdToolDescriptionEvaluatorand obtained a score of0.4or more and a top 3 ranking for all related test prompts/docs/e2eTestPrompts.mdcrypto mining, spam, data exfiltration, etc.)/azp run mcp - pullrequest - liveto run Live Test Pipeline