mailsend
v0.1.0Send and manage email, domains, audiences, and API keys through the Resend API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
send_email
Send an email through Resend.
| Parameter | Type | Description |
|---|---|---|
from * | string | The sender email address, optionally in 'Name <email@example.com>' format. |
subject * | string | The subject line of the email. |
to * | array | The recipient email addresses to send the email to. |
bcc | array | Email addresses to blind-copy on the email (hidden recipients). |
cc | array | Email addresses to copy on the email (carbon copy recipients). |
html | string | The HTML body of the email. |
reply_to | string | The email address replies to this email should be sent to. |
text | string | The plain-text body of the email. |
list_emails
List emails sent through Resend.
| Parameter | Type | Description |
|---|---|---|
limit | integer | The maximum number of sent emails to return. |
get_email
Get one sent email by its ID.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the sent email to retrieve. |
create_domain
Create a sending domain in Resend.
| Parameter | Type | Description |
|---|---|---|
name * | string | The domain name to create as a sending domain. |
region | string | The region to create the domain in, such as 'us-east-1'. |
list_domains
List sending domains in Resend.
get_domain
Get one sending domain by its ID, including its DNS records.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the sending domain to retrieve. |
verify_domain
Start verification of a sending domain's DNS records.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the sending domain to start DNS verification for. |
delete_domain
Delete a sending domain from Resend.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the sending domain to delete. |
create_api_key
Create a Resend API key, optionally scoped to one domain.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name for the new API key. |
domain_id | string | The ID of the domain to scope this API key to. |
permission | string | The permission level for the API key, such as 'full_access' or 'sending_access'. |
list_api_keys
List Resend API keys.
delete_api_key
Delete a Resend API key.
| Parameter | Type | Description |
|---|---|---|
id * | string | The ID of the API key to delete. |
create_audience
Create an audience in Resend.
| Parameter | Type | Description |
|---|---|---|
name * | string | The name for the new audience. |
list_audiences
List audiences in Resend.
create_contact
Add a contact to an audience in Resend.
| Parameter | Type | Description |
|---|---|---|
audience_id * | string | The ID of the audience to add the contact to. |
email * | string | The contact's email address. |
first_name | string | The contact's first name. |
last_name | string | The contact's last name. |
unsubscribed | boolean | Whether the contact is unsubscribed from the audience. |
list_contacts
List contacts in an audience in Resend.
| Parameter | Type | Description |
|---|---|---|
audience_id * | string | The ID of the audience whose contacts to list. |
limit | integer | The maximum number of contacts to return. |