ResendTools enable an Assistant to send emails using Resend

Example

The following assistant will send an email using Resend

cookbook/tools/resend_tools.py
from phi.assistant import Assistant
from phi.tools.resend_tools import ResendTools

assistant = Assistant(tools=[ResendTools(from_email="<enter_from_email>")], debug_mode=True)

assistant.print_response("send email to <enter_to_email> greeting them with hello world")

Toolkit Params

api_key
str

API key for authentication purposes.

from_email
str

The email address used as the sender in email communications.

Toolkit Functions

send_email

Send an email using the Resend API.