> ## 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).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
  | ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | BCC                | List of recipient's email addresses as BCC, each represented by a json object.<br />Format:<br /><pre><code>\[<br />    \{<br />      "emailAddress": "[example@mail.com](mailto:example@mail.com)",<br />      "displayableName": "example\_name"<br />    },<br />    \{<br />      "emailAddress": "[example2@mail.com](mailto:example2@mail.com)",<br />      "displayableName": "example2\_name"<br />    }<br />  ]</code></pre><br />Note: The `displayableName` attribute isn't required. |
  | CC                 | List of recipient's email addresses as CC, each represented by a json object.<br />Format:<br /><pre><code>\[<br />    \{<br />      "emailAddress": "[example@mail.com](mailto:example@mail.com)",<br />      "displayableName": "example\_name"<br />    },<br />    \{<br />      "emailAddress": "[example2@mail.com](mailto:example2@mail.com)",<br />      "displayableName": "example2\_name"<br />    }<br />  ]</code></pre><br />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. <br />Format: <br /><pre><code>\[<br />  \{<br />    "name": "header\_name",<br />    "value": "header\_value"<br />  }<br />]</code></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.<br />Format:<br /><pre><code>\[<br />    \{<br />      "emailAddress": "[example@mail.com](mailto:example@mail.com)",<br />      "displayableName": "example\_name"<br />    },<br />    \{<br />      "emailAddress": "[example2@mail.com](mailto:example2@mail.com)",<br />      "displayableName": "example2\_name"<br />    }<br />  ]</code></pre><br />Note: The `displayableName` attribute isn't required.        |
</div>

## 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"
				]
			}
		}
	]
}
```

## Workflow Library Example

[Send Email with Mimecast and Send Results Via Email](https://library.blinkops.com/workflows/send-email-with-mimecast-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/send-email-with-mimecast-and-send-results-via-email/canvas" />
</div>
