Skip to main content

Create and Implement a Send Email Action Tool for AI Agents in Whippy

Set up a Send Email action tool and configure your AI agent to send emails automatically.

Maria Cairns avatar
Written by Maria Cairns
Updated this week

Why it matters

The Send Email action allows your AI agent to send structured emails during or after a conversation. This is useful for summaries, follow-ups, confirmations, or sharing requested information.

Creating the tool alone is not enough. You must assign the tool to the agent and clearly define in the agent instructions when the email should be sent and what it should contain.

Key Concepts

Action Tool: A tool created using the Execute Actions tool type that allows an agent to perform structured system actions such as sending emails, tagging contacts, or updating records.

Execute Actions Tool Type: A tool type that enables you to configure one or more actions inside a single tool. Multiple actions can run when the tool is triggered.

Send Email Action: An action that sends an email to one or more recipients when executed.

Content Mode: A setting that determines how the subject and body are generated. The two options are Static and Prompt.

Static Content Mode: Sends a fixed subject and body exactly as written. You can manually include variables, but the structure remains predefined.

Prompt Content Mode: Uses AI to generate the subject and body. When Prompt is selected, the content entered into the Subject and Body fields is used as instructions for the AI to generate the final email.

Reply-To Address: The email address that will receive replies. This field is required.

Agent Instructions: The configuration where you define when the agent should trigger the tool and what conditions must be met before sending an email.

Step-by-Step: Create a Send Email Action Tool

  1. Navigate to Agents in the left-hand menu.

  2. Click Tools (jigsaw icon).

  3. Click Create Tool in the top right corner.

  4. Select Execute Actions from the Tool Type dropdown.

  5. Enter a Tool Name and click Save Tool.

Configure Basic Info

  1. Enter the Label. Use only letters, numbers, underscores, or hyphens. Maximum 64 characters.

  2. Add a clear Description explaining when the email will be sent.

  3. Click Save.

Configure Tool Settings

  1. Set the Timeout (milliseconds). Default is 5000 ms.

  2. Toggle Speak After Execution if the agent should confirm the email was sent.

  3. Toggle Speak During Execution if required.

  4. Add execution speech if enabled.

  5. Click Save.

Add the Send Email Action

  1. In the Actions section, click Add Action.

  2. Select Send Email from the Action Type dropdown.

  3. Choose a Content Mode:

    • Static

    • Prompt

Configure Recipients

  1. Enter the To email address. This field is required.

    • You can enter multiple addresses as a comma-separated list.

  2. Optionally enter CC addresses as a comma-separated list.

  3. Optionally enter BCC addresses as a comma-separated list.

  4. Enter a Reply-To email address. This field is required.

If Using Static Content Mode

  1. Enter the Subject exactly as it should appear.

  2. Enter the Body exactly as it should be sent.

  3. Manually insert variables if needed, for example {{full_name}}.

The email will be sent exactly as written, with variables populated at send time.

If Using Prompt Content Mode

  1. Select Prompt from the Content Mode dropdown.

  2. Enter instructions in the Subject field describing how the AI should generate the subject line.

  3. Enter instructions in the Body field describing what the email should include.

When Prompt is selected, the content inside the Subject and Body fields is used as the prompt provided to the AI. The AI generates the final subject and email body based on those instructions.

  1. Include relevant variables to provide context.

  2. Click Create Action.

The Create Action button will remain disabled if required fields such as To, Reply-To, or Body are empty.

You can add additional actions to the same tool if needed.

Implement the Tool in an Agent

Creating the tool does not automatically make the agent use it.

To implement it:

  1. Open the relevant Agent.

  2. Select the newly created Send Email tool to give the agent access.

  3. Update the Agent Instructions to clearly define:

    • When the email should be sent.

    • What conditions must be met.

    • Whether to use static or AI-generated content.

    • Any required information that must be collected before sending.

You must both assign the tool to the agent and define its trigger logic in the instructions. Without explicit conditions, the agent may not send the email correctly or may send it unintentionally.

Tips and Best Practices

  • Use Static mode for structured confirmations or fixed templates.

  • Use Prompt mode when email content should adapt to the conversation.

  • Be specific and structured when writing prompts.

  • Always verify required fields before saving.

  • Test the email flow in a controlled conversation.

  • Ensure the Reply-To address is monitored.

Troubleshooting

Issue

Possible Cause

Fix

Create Action button disabled

Required fields missing

Ensure To, Reply-To, and Body fields are completed

Email not sent

Tool not assigned to agent

Enable the tool in the agent settings

Subject or body incorrect

Prompt too vague

Refine instructions in Prompt mode

Variables not rendering

Incorrect variable format

Use correct variable syntax

Replies not received

Missing or incorrect Reply-To

Update the Reply-To address

Did this answer your question?