> ## 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 outlook message.

* **Least privileged** Microsoft Graph permission to access the action via **application**: `Mail.Send`.

```
Note: Using the delegated (OAuth) connection type will only allow to insert the connected user's ID.
```

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Microsoft Outlook documentation](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0\&tabs=http).

## Basic Parameters

| Parameter | Description |
| - | - |
| Attachments | A comma-separated list of file identifiers to add as attachments. A file identifier represents a file created or referenced earlier in the workflow (for example, from a file action or another step that produces a file). See [Using with Files in Workflows](https://docs.blinkops.com/docs/workflows/building-workflows/files.md)￼for more details. |
| CC Recipients | A comma-separated list of email addresses of the CC recipients. |
| Content Type | The type of the content to send. Can be either regular text or html text. By default it will be sent as Regular Text. |
| HTML Message Content | The message's content body. |
| Recipients | A comma-separated list of email addresses of the recipients. |
| Regular Text Message Content | The message's content body. |
| Subject | The subject of the message. |
| User ID or User Principal Name | The ID or userPrincipalName of the user. |

## Advanced Parameters

| Parameter | Description |
| - | - |
| Custom Message Headers | A JSON array of custom email headers. Can be used to trigger [transport rules](https://learn.microsoft.com/en-us/exchange/security-and-compliance/mail-flow-rules/mail-flow-rules) or an [auto-labeling policies](https://learn.microsoft.com/en-us/purview/apply-sensitivity-label-automatically). **Note**: All header names must start with `x-` and include only lowercase letters, numbers, and hyphens. Format: <pre>`[  {    "name":"x-custom-header",    "value":"example"  }]`</pre> |
| Save To Sent Items | Select to save the new mail in `Sent Items` folder. |
