# Resend

> Send transactional and marketing email and manage domains, audiences, and broadcasts with Resend.

Lets an agent send transactional and marketing email through Resend and manage your domains, API keys, audiences (contact lists), and broadcasts.

## What it can do

| Method | What it does |
| --- | --- |
| `resend_email_send` | Send a transactional email - needs from_email, to, subject, and html or text body. |
| `resend_email_get` | Get the delivery status of a sent or scheduled email by id (opens, clicks, bounces). |
| `resend_emails_list` | List sent and scheduled emails, with optional limit and offset. |
| `resend_email_cancel` | Cancel a scheduled email before it sends. |
| `resend_domain_create` | Create a domain record for verification and get the DNS records to configure. |
| `resend_domains_list` | List verified sending domains. |
| `resend_domain_update` | Update domain settings - TLS policy, open tracking, click tracking. |
| `resend_domain_delete` | Delete an unverified domain. |
| `resend_api_key_create` | Create a new API key (returned once); optional name. |
| `resend_api_keys_list` | List all API keys with their tokens hidden. |
| `resend_api_key_delete` | Delete an API key, revoking it immediately. |
| `resend_audience_create` | Create an audience (contact list or segment) by name. |
| `resend_audiences_list` | List all audiences. |
| `resend_audience_update` | Rename an audience. |
| `resend_audience_delete` | Delete an audience (irreversible). |
| `resend_audience_contact_add` | Add a contact to an audience by email, with optional name and unsubscribed flag. |
| `resend_audience_contacts_list` | List contacts in an audience, with optional limit and offset. |
| `resend_audience_contact_remove` | Remove a contact from an audience. |
| `resend_broadcast_create` | Create and send a broadcast email to an audience. |
| `resend_broadcasts_list` | List broadcasts, with optional limit and offset. |
| `resend_broadcast_get` | Get a broadcast's send status, recipient counts, and engagement metrics. |
| `resend_broadcast_update` | Update a draft broadcast (subject, html, text) before it is sent. |

## How to get credentials

1. Open [resend.com/api-keys](https://resend.com/api-keys).
2. Click **Create API Key** and give it a name (e.g. *FlyMyAI Agent*).
3. Choose the permission level and, if you want to scope it, the sending domain.
4. Copy the full token - it is shown only once.

## Fields to fill in FlyMyAI

| FlyMyAI field | Where it comes from |
| --- | --- |
| `RESEND_API_KEY` | Resend → API Keys → Create API Key (full token shown once) |
