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

# Send Email

> Send a custom email using the Resend integration.

The **Send Email** action lets you send transactional or dynamic emails directly from your endpoint flow using the Resend integration.

This block runs at execution time and supports both static content and dynamic variables from previous steps.

<Callout icon="puzzle">
  This action requires the **Resend Integration** to be configured in order to run. Your endpoint flow will ignore this block if the integration is not properly configured.
</Callout>

<Frame>
  <img src="https://mintcdn.com/avicenna-a10e7e50/5pBk2GgcYokY4NXx/images/SendEmailBlockSS.png?fit=max&auto=format&n=5pBk2GgcYokY4NXx&q=85&s=74aaf17cf71ac8772a362f6f54f10d06" alt="Send Email Block SS" width="742" height="331" data-path="images/SendEmailBlockSS.png" />
</Frame>

***

### To

The **To** field defines the recipient's email address. You can enter a static email that will be used in all requests or use a variable for dynamic email sending per every request.

### From

The **From** field defines the sender's name and email address. The syntax should be as follows:

```text theme={null}
Your App Name <hello@yourdomain.com>
```

<Note>
  The Sender's email domain must be verified from your Resend dashboard.
</Note>

### Subject

The **Subject** field defines the subject line of the email. You can include dynamic variables using `{}` syntax. For example:

```text theme={null}
Welcome to our platform, {params.name}!
```

### Body

The **Body** field contains the email's main content. You can write static plain text or use variables to make each request dynamic! For example:

```text theme={null}
Hi {params.name},

Thank you for signing up.

Best,
The Team
```
