# Resend

> Send and manage transactional emails with Resend, the email API for developers.

App · Email · 5 actions. Web page: https://docs.lodol.com/docs/integrations/resend

## Actions

### Cancel scheduled email

Cancel a scheduled email that has not been sent yet.

**Inputs**

- Email ID (`email_id`, text, required): The ID of the scheduled email to cancel.

**Outputs**

- `result` (object)

**Example output**

```json
{
  "result": {
    "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794",
    "object": "email"
  }
}
```

### Reschedule email

Update a scheduled email's send time.

**Inputs**

- Email ID (`email_id`, text, required): The ID of the scheduled email to reschedule.
- New schedule time (`scheduled_at`, date and time, required): New ISO 8601 send time (e.g. 2024-08-05T11:52:01.858Z).

**Outputs**

- `result` (object)

**Example output**

```json
{
  "result": {
    "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794",
    "object": "email"
  }
}
```

### Retrieve email

Retrieve a single email's details and delivery status by ID.

**Inputs**

- Email ID (`email_id`, text, required): The ID of the email to retrieve (returned when it was sent).

**Outputs**

- `result` (object)

**Example output**

```json
{
  "result": {
    "bcc": null,
    "cc": null,
    "created_at": "2024-01-01T00:00:00.000Z",
    "from": "onboarding@resend.dev",
    "html": "<p>Hello World</p>",
    "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
    "last_event": "delivered",
    "object": "email",
    "reply_to": null,
    "subject": "Hello World",
    "text": null,
    "to": [
      "delivered@resend.dev"
    ]
  }
}
```

### Send batch emails

Send up to 100 transactional emails in a single Resend request.

**Inputs**

- Emails (`emails`, list, required): A list of email objects to send. Each needs 'from', 'to', 'subject', and 'html' or 'text'.

**Outputs**

- `result` (object)

**Example output**

```json
{
  "result": {
    "data": [
      {
        "id": "ae2014de-c168-4c61-8267-70d2662a1ce1"
      },
      {
        "id": "faccb7a5-8a28-4e9a-ac64-8da1cc3bc1cb"
      }
    ]
  }
}
```

### Send email

Send a transactional email through Resend.

**Inputs**

- From (`from_email`, text, required): Sender email address. Must use a verified domain, or 'onboarding@resend.dev' for testing to your own account address.
- To (`to`, list, required): One or more recipient email addresses.
- Subject (`subject`, text, required): Email subject line.
- HTML content (`html`, text): HTML email body. Provide HTML or plain text (or both).
- Plain text content (`text`, text): Plain-text email body. Provide HTML or plain text (or both).
- CC (`cc`, list): Optional Cc email addresses.
- BCC (`bcc`, list): Optional Bcc email addresses.
- Reply-to (`reply_to`, list): Optional Reply-To email addresses.
- Schedule for (`scheduled_at`, date and time): Optional ISO 8601 time to schedule the email (e.g. 2024-08-05T11:52:01.858Z). Sends immediately if omitted.

**Outputs**

- `result` (object)

**Example output**

```json
{
  "result": {
    "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
  }
}
```
