> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Email

Send a secure email via Mimecast.

Required application permissions: `Account | Dashboard | Read`.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Mimecast documentation](https://developer.services.mimecast.com/docs/cloudgateway/1/routes/api/email/send-email/post).

## Parameters

| Parameter | Description |
| - | - |
| BCC | List of recipient's email addresses as BCC, each represented by a json object. Format: <pre>`[    {      "emailAddress": "example@mail.com",      "displayableName": "example_name"    },    {      "emailAddress": "example2@mail.com",      "displayableName": "example2_name"    }  ]`</pre> Note: The `displayableName` attribute isn't required. |
| CC | List of recipient's email addresses as CC, each represented by a json object. Format: <pre>`[    {      "emailAddress": "example@mail.com",      "displayableName": "example_name"    },    {      "emailAddress": "example2@mail.com",      "displayableName": "example2_name"    }  ]`</pre> Note: The `displayableName` attribute isn't required. |
| Email Subject | Specify the email subject. |
| Extra Headers | List of email headers to add, each represented by a json object. Format: <pre>`[  {    "name": "header_name",    "value": "header_value"  }]`</pre> |
| From | Specify the email address to send the email from. |
| HTML content | The HTML content of the email. |
| Plain text content | The plain text content of the email. |
| Recipients List | List of recipient's email addresses, each represented by a json object. Format: <pre>`[    {      "emailAddress": "example@mail.com",      "displayableName": "example_name"    },    {      "emailAddress": "example2@mail.com",      "displayableName": "example2_name"    }  ]`</pre> Note: The `displayableName` attribute isn't required. |

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"invalidRecipients": [
				"invalid1@example.com",
				"invalid2@example.com"
			],
			"messageDateHeader": "Mon, 21 Oct 2024 12:34:56 +0000",
			"messageId": "12345abcde@example.com"
		}
	],
	"fail": [
		{
			"errors": [
				{
					"code": "550",
					"message": "Recipient address rejected: User unknown",
					"retryable": true
				}
			],
			"key": {
				"attachments": [
					"file1.pdf",
					"image1.png"
				],
				"bcc": [
					"bcc1@example.com",
					"bcc2@example.com"
				],
				"cc": [
					"cc1@example.com",
					"cc2@example.com"
				],
				"extraHeaders": [
					"X-Custom-Header: value"
				],
				"from": {
					"name": "John Doe",
					"email": "johndoe@example.com"
				},
				"htmlBody": "<html><body>Hello</body></html>",
				"inReplyTo": "54321abcde@example.com",
				"plainBody": "Hello",
				"subject": "Test Email",
				"to": [
					"recipient1@example.com",
					"recipient2@example.com"
				]
			}
		}
	]
}
```
