What the agent can use
- The selected mailbox and its messages.
- Thread history.
- RAG snippets indexed for the workspace.
- Connected Composio tools when enabled.
- Mailbox settings and custom prompts.
chat_with_mailbox_agent, but that chat body has no server-enforced per-call
tool-allowlist field. Written “allowed tools” are instruction boundaries, not
proof that downstream tools were removed. For untrusted mailbox content that
requires hard isolation, use bounded direct MCP read tools instead of delegating
the payload to the mailbox agent.
Drafting and recipients
When you ask the mailbox agent to draft or send mail, recipient handling matches the product composer as closely as possible.Reply and Reply All
- The agent targets the latest inbound message in the thread (same idea as the Reply / Reply All buttons).
- Reply: To comes from that message’s headers (Reply-To or From). Original Cc/Bcc are not copied. Auto-forwarded original To may still be added to Cc when delivery headers show a forward into the mailbox.
- Reply All: To is the sender; other To and Cc addresses from that message (plus any auto-forward Cc) go on Cc. Bcc is not carried over.
- If you name specific To/Cc/Bcc addresses in chat, those override the inherited lists. You can pass one address, a comma-separated list, or multiple addresses.
New compose
- To is required. If you only provide Cc and/or Bcc and do not say who the email is To, the agent should ask for the primary To before saving or sending.
- The agent should not invent a To address or move Cc/Bcc into To unless you explicitly say those addresses are the To recipients.
save_draft, send_email, reply_to_email) are separate:
they require explicit recipients on each call and do not expose Reply All
inheritance. See MCP and the compose skill guidance.
Agent conversations
Mermail stores mailbox agent conversations separately from email threads. You can create, rename, delete, and list user-managed conversations for a mailbox. Thread-bound and other system-managed conversations can be listed and continued, but cannot be renamed or deleted through the external conversation management workflow. Task triagers use dedicated agent conversations to report event processing and run outcomes.Related concepts
Task triage
Learn how mailbox triggers, instructions, runs, and triager conversations work.