EmailMessage

Message payload for sending an email

Microsoft AzureCPaaSCallingChatCommunicationsContact CenterEmailIdentityMessagingPhone NumbersRoomsRoutingSIPSMSTelephonyTokensVideoVoiceWhatsApp

Properties

Name Type Description
headers object Custom email headers to be passed.
senderAddress string Sender email address from a verified domain.
content object Email content to be sent.
recipients object Recipients for the email.
attachments array List of attachments. Please note that we limit the total size of an email request (which includes both regular and inline attachments) to 10MB.
replyTo array Email addresses where recipients' replies will be sent to.
userEngagementTrackingDisabled boolean Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane.
View JSON Schema on GitHub

JSON Schema

microsoft-azure-communication-services-email-message-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure-communication-services/json-schema/microsoft-azure-communication-services-email-message-schema.json",
  "title": "EmailMessage",
  "description": "Message payload for sending an email",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/microsoft-azure-communication-services-email-api-openapi.yml#/components/schemas/EmailMessage",
  "required": [
    "senderAddress",
    "content",
    "recipients"
  ],
  "type": "object",
  "properties": {
    "headers": {
      "description": "Custom email headers to be passed.",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "senderAddress": {
      "description": "Sender email address from a verified domain.",
      "type": "string"
    },
    "content": {
      "description": "Email content to be sent.",
      "$ref": "#/$defs/EmailContent"
    },
    "recipients": {
      "description": "Recipients for the email.",
      "$ref": "#/$defs/EmailRecipients"
    },
    "attachments": {
      "description": "List of attachments. Please note that we limit the total size of an email request (which includes both regular and inline attachments) to 10MB.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAttachment"
      }
    },
    "replyTo": {
      "description": "Email addresses where recipients' replies will be sent to.",
      "type": "array",
      "items": {
        "$ref": "#/$defs/EmailAddress"
      }
    },
    "userEngagementTrackingDisabled": {
      "description": "Indicates whether user engagement tracking should be disabled for this request if the resource-level user engagement tracking setting was already enabled in the control plane.",
      "type": "boolean"
    }
  },
  "$defs": {
    "EmailAddress": {
      "description": "An object representing the email address and its display name",
      "type": "object",
      "required": [
        "address"
      ],
      "properties": {
        "address": {
          "description": "Email address.",
          "type": "string"
        },
        "displayName": {
          "description": "Email display name.",
          "type": "string"
        }
      }
    },
    "EmailAttachment": {
      "description": "Attachment to the email.",
      "type": "object",
      "required": [
        "name",
        "contentType",
        "contentInBase64"
      ],
      "properties": {
        "name": {
          "description": "Name of the attachment",
          "type": "string"
        },
        "contentType": {
          "description": "MIME type of the content being attached.",
          "type": "string"
        },
        "contentInBase64": {
          "description": "Base64 encoded contents of the attachment",
          "type": "string",
          "format": "byte"
        },
        "contentId": {
          "description": "Unique identifier (CID) to reference an inline attachment.",
          "type": "string"
        }
      }
    },
    "EmailContent": {
      "description": "Content of the email.",
      "type": "object",
      "required": [
        "subject"
      ],
      "properties": {
        "subject": {
          "description": "Subject of the email message",
          "type": "string"
        },
        "plainText": {
          "description": "Plain text version of the email message.",
          "type": "string"
        },
        "html": {
          "description": "Html version of the email message.",
          "type": "string"
        }
      }
    },
    "EmailRecipients": {
      "description": "Recipients of the email",
      "type": "object",
      "required": [
        "to"
      ],
      "properties": {
        "to": {
          "description": "Email To recipients",
          "type": "array",
          "items": {
            "$ref": "#/$defs/EmailAddress"
          }
        },
        "cc": {
          "description": "Email CC recipients",
          "type": "array",
          "x-ms-client-name": "CC",
          "items": {
            "$ref": "#/$defs/EmailAddress"
          }
        },
        "bcc": {
          "description": "Email BCC recipients",
          "type": "array",
          "x-ms-client-name": "BCC",
          "items": {
            "$ref": "#/$defs/EmailAddress"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-communication-services-email-message"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.