# Send Email

The Send Email Data Operation sends an email every time the Data Operation is run. It is configurable to be received by many parties and has many standard email features.

![organizing info](https://2599974655-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIRF6etABDVMr59RdpyGw%2Fuploads%2Fgit-blob-c6bf57bc76d176e1d2e71c5c6cede84f9bece3de%2Fthe-send-email-data-operation-v184-0.gif?alt=media)

## Use Cases

* Send a confirmation email at the end of a scheduling flow
* Send out a link to a web flow for a customer to complete
* Send a customer a receipt at the end of a transaction

## Data Operation Properties

### From

The from address in the email format. It must be a registered email Integration with your app in [Settings](../../studio/studio/builder-bar/settings). If the user replies to the email, and no Reply-To address is provided, this address will be used.

### To

Expects type `text` or `list of text`.

A Text or List of Text that indicates who the email should be sent to. It may be one or more email addresses separated by a comma if simple text. If a list of text, each text item can either be an email address or a group of email addresses separated by a comma. To addresses are considered the primary recipient of the email.

### Cc

Expects type `text` or `list of text`.

Cc stands for Carbon Copy. A text or list of text indicates a list of addresses that should be copied on the email. It follows the same pattern as To addresses. Cc and To emails will receive the email the same way, though the practice is to use Cc to keep others in the loop and To to be the primary recipients.

### Bcc

Expects type `text` or `list of text`.

Bcc stands for Blind Carbon Copy. A text or list of text indicates a list of individuals to receive the email, but that will not be known to the people in the To or Cc fields. It is blind because the intended recipients do not know that these addresses are receiving a copy.

### Reply To

Expects type `text` or `list of text`.

A text or list of text that indicates a list of addresses a reply will be sent to. If a user responds to the email sent, this address will receive the response. If none is provided, the original From address will receive the reply.

### Subject

Expects type `text`.

A text value that indicates the subject to be used on the email.&#x20;

### Body Text

Expects type `text`.

Email can be presented in two different formats, HTML and text. This is the text version, only plain text can be used, and it will be rendered as standard text in the program that renders the email. Because not all readers support reading HTML, it is good to provide a text version of an email, even if an HTML version is preferred.

### Body HTML

Expects type `text`.

The HTML formatted text to be displayed in the HTML section of the email. It is not required to start with a doctype or header.&#x20;

```
"<!DOCTYPE html>
<html lang=\"en\">
  <head>
    <meta http-equiv=\"Content-Type\" content=\"text/html charset=UTF-8\" />
  </head>
  <body>
    <p>Hello!</p>
  </body>
</html>"

```

### Attachment

Expects type `asset` or `list of assets`.

An Asset or List of Assets. The files associated with each asset will be attached to the sent email.

> 📘 **Maximum attachment size The maximum sending attachment size is 10 MB.**

## Run Result

By default, Airkit creates a variable of type Any called "email" and can then be passed into subsequent operations.
