mailsend

v0.1.0
io.github.CloudCorpRecords/mailsend Checked 3 days ago Published 1 month ago

Send 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.

ParameterTypeDescription
from *stringThe sender email address, optionally in 'Name <email@example.com>' format.
subject *stringThe subject line of the email.
to *arrayThe recipient email addresses to send the email to.
bccarrayEmail addresses to blind-copy on the email (hidden recipients).
ccarrayEmail addresses to copy on the email (carbon copy recipients).
htmlstringThe HTML body of the email.
reply_tostringThe email address replies to this email should be sent to.
textstringThe plain-text body of the email.

list_emails

List emails sent through Resend.

ParameterTypeDescription
limitintegerThe maximum number of sent emails to return.

get_email

Get one sent email by its ID.

ParameterTypeDescription
id *stringThe ID of the sent email to retrieve.

create_domain

Create a sending domain in Resend.

ParameterTypeDescription
name *stringThe domain name to create as a sending domain.
regionstringThe 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.

ParameterTypeDescription
id *stringThe ID of the sending domain to retrieve.

verify_domain

Start verification of a sending domain's DNS records.

ParameterTypeDescription
id *stringThe ID of the sending domain to start DNS verification for.

delete_domain

Delete a sending domain from Resend.

ParameterTypeDescription
id *stringThe ID of the sending domain to delete.

create_api_key

Create a Resend API key, optionally scoped to one domain.

ParameterTypeDescription
name *stringThe name for the new API key.
domain_idstringThe ID of the domain to scope this API key to.
permissionstringThe 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.

ParameterTypeDescription
id *stringThe ID of the API key to delete.

create_audience

Create an audience in Resend.

ParameterTypeDescription
name *stringThe name for the new audience.

list_audiences

List audiences in Resend.

create_contact

Add a contact to an audience in Resend.

ParameterTypeDescription
audience_id *stringThe ID of the audience to add the contact to.
email *stringThe contact's email address.
first_namestringThe contact's first name.
last_namestringThe contact's last name.
unsubscribedbooleanWhether the contact is unsubscribed from the audience.

list_contacts

List contacts in an audience in Resend.

ParameterTypeDescription
audience_id *stringThe ID of the audience whose contacts to list.
limitintegerThe maximum number of contacts to return.