Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.blaxel.ai/llms.txt

Use this file to discover all available pages before exploring further.

This example shows how to integrate agentic inbox provider AgentMail with Blaxel to create a customer success agent that autonomously handles technical questions via email (inbound and outbound).

Requirements

To use this example, you’ll need:
  • the unique username for your AgentMail inbox
  • an AgentMail API key

Create an AgentMail inbox and API key

From your AgentMail dashboard, create a new inbox, providing a unique username (by default, the domain is set to agentmail.to): inbox.webp From the same dashboard, obtain an API key: api.webp

Configure the project

Clone the example repository and follow the instructions provided. Note that you must configure the following environment variables for your deployment:
INBOX_USERNAME=      # a unique username for your inbox
AGENTMAIL_API_KEY=   # your AgentMail API key

Create a .env file in the project root with these variables, or set them in your deployment environment.
The AGENTMAIL_API_KEY variable is required. If it is missing or not correctly set, the AgentMail client will fail to authenticate and return a 403 Forbidden error at runtime. Confirm this variable is configured before deploying.

Deploy the agent

Deploy the agent on Blaxel. Once the agent is deployed, retrieve its inference endpoint. deployment.webp You will need an API key to query the agent externally. Follow this guide to create a service account in your workspace and generate an API key.

AgentMail Documentation

Complete documentation for using AgentMail.
Last modified on May 14, 2026