Skip to content

Channels: Email (AgentMail)

Email via AgentMail is a Tier 1 channel. AgentMail provides a hosted inbox and an API, so you do not run your own mail server. You provide an API key and the inbox address, then point AgentMail’s webhook at Wayland.

Before you start (prerequisites and accounts)

Section titled “Before you start (prerequisites and accounts)”
  • An AgentMail account with an inbox.
  • The Wayland desktop app running with a model provider connected.

Create the credentials (on the provider side)

Section titled “Create the credentials (on the provider side)”
  1. In AgentMail, create or choose an inbox and note its inbox address.
  2. Create an API key.
  3. Choose a webhook secret to authenticate inbound delivery, if AgentMail asks for one.

Connect it in Wayland (Settings -> Channels -> Email (AgentMail))

Section titled “Connect it in Wayland (Settings -> Channels -> Email (AgentMail))”
  1. Open Settings -> Channels and choose Email (AgentMail).
  2. Paste the API key.
  3. Enter the Inbox address.
  4. Set the Webhook secret if you use one.
  5. Save.
  6. In AgentMail, set the inbound webhook to the Webhook URL shown on the page.

Verify (status goes from idle to connected, send a test message)

Section titled “Verify (status goes from idle to connected, send a test message)”

After saving, the status moves from idle to connected. Send an email to the inbox address and confirm a reply.

Set the assistant and default model on the page. Inbound mail routes to that assistant.

If mail does not arrive, confirm the API key, the inbox address, and the webhook configuration in AgentMail. See Channel Connection Issues.