Rela AIRela AI Docs
Email Agents

Create an email agent

Step-by-step guide to creating an email agent with conversational AI.

Prerequisites

  • An active Rela AI account.
  • A verified email account with active status (see Email accounts).

Create the agent

  1. Go to Email > Agents in the sidebar.
  2. Click Create agent.
  3. Fill in the form with the agent information.

Creation form

General information

FieldDescription
NameAgent name (e.g. "Support Assistant").
Email accountSelect the verified email account the agent will use.

Agent prompt

The prompt defines the agent's behavior and is divided into the following sections:

SectionDescription
IdentityWho the agent is, its name and role.
InstructionsWhat the agent should do and how it should respond.
RulesConstraints and limits on the agent's behavior.
ToolsDescription of the tools available to the agent.

Connected tools

You can link external tools to the agent so it can perform actions such as querying databases, creating tasks, or accessing real-time information. Available tools are configured from the platform's tools section.

Welcome message

Optionally, you can set up a welcome message that the agent will send as its first response when a user starts an email conversation.

Advanced settings

FieldDescriptionDefaultRange
max_context_messagesMaximum number of previous messages the agent considers for context.201 – 100
session_timeout_minutesTime in minutes before an inactive session is automatically closed.301 – 1440

Attachment processing

The agent can process attachments sent by users in their emails. Supported formats are:

FormatType
PDFDocument
PNGImage
JPEGImage
WebPImage
GIFImage
XLSXSpreadsheet
DOCXDocument
CSVData

The maximum size per attachment is 25 MB. The agent uses AI vision to extract and understand the content of images and documents.

AI model

The AI model used by the agent is pre-configured by the platform and is not selectable by the user. This ensures optimal and consistent performance across all conversations.

Sending responses

Once created, the agent will automatically respond to incoming emails through Postmark. No additional configuration is needed for sending responses.

On this page