skills/send-mail/SKILL.md
# Send Mail Sends a new email message directly without first creating a draft. Supports both JSON and MIME format message content. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: POST - **Path**: `/me/sendMail` - **Operation ID**: `sendMail` - **Tag**: Messages - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/sendMail` ## Required Hea
npx skillsauth add naftiko/microsoft-outlook-sandbox skills/send-mailInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Sends a new email message directly without first creating a draft. Supports both JSON and MIME format message content.
/me/sendMailsendMailMock server URL: http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/sendMail
Authorization: Bearer {access-token}Content-Type: application/jsonMail.Send| Property | Type | Description |
|----------|------|-------------|
| message | object | The message object containing subject, body, recipients, and other properties |
| message.subject | string | The subject of the message |
| message.body | object | The body with contentType (text/html) and content |
| message.toRecipients | array | Array of recipient objects with emailAddress containing name and address |
| message.ccRecipients | array | Array of CC recipient objects |
| message.bccRecipients | array | Array of BCC recipient objects |
| message.importance | string | The importance: low, normal, high |
| saveToSentItems | boolean | Whether to save the message in Sent Items (default: true) |
curl -X POST "http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/sendMail" \
-H "Authorization: Bearer {access-token}" \
-H "Content-Type: application/json" \
-d '{
"message": {
"subject": "Hello",
"body": {
"contentType": "text",
"content": "World"
},
"toRecipients": [
{
"emailAddress": {
"address": "[email protected]"
}
}
]
},
"saveToSentItems": true
}'
HTTP/1.1 202 Accepted
Use this operation to compose and send a message in a single step without creating a draft first. This is the most efficient way to send a simple email. Set saveToSentItems to false if you do not want to keep a copy in the Sent Items folder. A successful send returns a 202 Accepted response with no body. For messages that require attachments or multiple edits before sending, use the create draft message workflow instead, which allows you to add attachments and make changes before sending.
tools
# Update Open Extension Update an existing open type extension on a message. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/messages/{message-id}/extensions/{extension-id}` - **Operation ID**: `updateOpenExtension` - **Tag**: Extensions - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/messages/{message-id}/exten
development
# Update Message Updates the properties of an existing message in the signed-in user's mailbox, such as marking it as read or changing its importance. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/messages/{message-id}` - **Operation ID**: `updateMessage` - **Tag**: Messages - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-
development
# Update Inbox Rule Update the properties of an existing inbox message rule. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/mailFolders/inbox/messageRules/{messageRule-id}` - **Operation ID**: `updateMessageRule` - **Tag**: InboxRules - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mailFolders/inbox/messageRule
development
# Update Mailbox Settings Update the user's mailbox settings such as automatic replies, locale, time zone, or working hours. ## API Details - **API**: Microsoft Outlook Mail API - **Method**: PATCH - **Path**: `/me/mailboxSettings` - **Operation ID**: `updateMailboxSettings` - **Tag**: MailboxSettings - **OpenAPI**: [microsoft-outlook-mail-api.yaml](../../openapi/microsoft-outlook-mail-api.yaml) ## Sandbox Mock server URL: `http://localhost:8080/rest/microsoft-outlook-mail-api/1.0.0/me/mail