Skip to main content

SMTP Tool

This tool allows your agent to send emails through SMTP servers, enabling automated email communication, notifications, and correspondence directly from your agent interactions.

SMTP Tool SMTP Tool Mobile

Parameters

This are the Tools Parameters. They can be configured as "static" during configuration of the tool or left as dynamic in order to let the llm to configure them.

NameDescriptionPossible ValuesRequired
serverAddressThe address of the SMTP serverAny valid SMTP server addressYes
serverPortThe port of the SMTP serverAny valid SMTP port number as stringYes
credentialsThe username and password to use to connect to the SMTP serverUsername and password credentials. See Credentials documentation for details on creating and managing credentialsYes
senderAddressThe email address of the senderAny valid email addressYes
subjectThe subject of the emailAny stringYes
bodyThe body of the email. It can be plain text or HTMLAny string (plain text or HTML format)Yes
toThe email address of the recipient. It can be a string or comma separated list of email addressesSingle email address or comma-separated listYes
ccThe email address of the recipient to be cc'ed. It can be a string or comma separated list of email addressesSingle email address or comma-separated listYes
bccThe email address of the recipient to be bcc'ed. It can be a string or comma separated list of email addressesSingle email address or comma-separated listYes

When to use this tool

Use this tool when you want to give your agent the ability to send emails automatically through SMTP servers. This is particularly useful for:

  • Automated notifications: Send alerts, updates, or status reports to users or administrators
  • Customer communication: Enable your agent to respond to inquiries, send confirmations, or provide support via email
  • Workflow automation: Integrate email sending into business processes, such as order confirmations or appointment reminders
  • Report distribution: Automatically send generated reports, summaries, or analytics to stakeholders
  • Multi-recipient messaging: Send emails to multiple recipients using TO, CC, and BCC fields for different communication needs

The tool supports both plain text and HTML email formats, allowing for rich content and professional email communications directly from your agent.