Email distributions are available in preview. Managed inbox setup and the same-thread reply loop are implemented,
but availability depends on the current environment’s email configuration.
Overview
An Email Distribution has three responsibilities:- receive supported messages sent to its assigned address;
- preserve the sender, recipients, subject, thread, reply, and attachment metadata for the agent; and
- send the agent’s final text response back to the sender in the same thread.
@, while Aion selects and displays the fixed domain
for the current environment. Connecting Gmail, Google Workspace, another existing mailbox, or a customer-owned domain
is not supported in the current release.
Default request loop
Aion accepts the incoming message before the Sequence finishes. Response delivery continues asynchronously and uses the original inbox, thread, and triggering-message coordinates.Configuration
Before you begin
You need:- an Aion organization and a Project containing an Email Distribution Ion;
- permission to add integrations to that organization; and
- an available inbox name on the domain shown during setup.
Create an email inbox
- Open Integrations, then select Email.
- Select Create email inbox.
- Enter the Inbox name. Enter only the part before
@; the displayed domain cannot be changed. - Select Create Inbox and wait for the inbox to become ready.
- Confirm that the assigned address appears under the Email integration.
Assign the inbox to a Distribution
Creating an inbox does not automatically bind it to a Project or Distribution.- Open the Project in Composer.
- Select the Email Distribution Ion and open its Identity tab.
- Select the ready inbox under Email.
- To make this endpoint part of an Aion, select its Principal Identity.
- Sync the Project changes.
Configure automated messages
Open the Distribution Ion’s Configuration tab to control automated inbound mail.
Keep this setting disabled unless the agent is designed to avoid mail loops. Messages sent by the connected inbox are
always suppressed.
Activate the Distribution
An Email Distribution can activate when the selected inbox is ready and belongs to the same organization. After resolving any validation messages, turn on Activate distribution and sync the Project.Message mapping
For each accepted email, Aion sends the Sequence:- a text part containing bounded plain text, or safe text extracted from HTML when plain text is unavailable;
- a
MessageEventPayloadcontaining the sender, message, thread, mailbox-parent, and reply coordinates; and - a sanitized source-system event containing the subject, recipients, selected headers, and attachment metadata.
In-Reply-To value uses trajectory = "reply"; another message in the thread uses
trajectory = "conversation".
Subject, recipient, header, and attachment details are request metadata rather than extra text injected into the user
message. Attachments include metadata only; the Distribution does not download or execute attachment content. See
Media and attachments for the shared distinction between
metadata, accessible bytes, and transcription.
The default outbound behavior sends one final text reply to the sender in the same thread. It does not reply-all. For
the shared protocol contracts, see Distribution,
Event, and
Distribution/Messaging.
Features
Messages and thread replies
Every accepted incoming email starts a new A2A task while reusing the mapped context for its email thread. The agent can use ordinary text output; the Distribution sends the final response back to the triggering sender.- LangGraph
- Google ADK
- A2A