Skip to content
Yardmaster Guide

Let people email your agent

Give your agent an email address: each new email starts or continues a session, and your agent replies by email.

Advanced3 minutes
Yardmaster

You can give your agent an email address. When someone you allow emails it, a session starts (or an earlier one continues), the agent does the work, and it emails its reply back. You do this with your own inbox at AgentMail, an outside email service.

Use your own AgentMail inbox#

If you already have an inbox at AgentMail, Yardmaster can check it every 30 seconds while the app is open.

  1. Store your AgentMail key on this computer (see below). Yardmaster has no box to type it into.

  2. Open Settings > Email & Summaries and expand the card that starts with Advanced ("use your own email inbox").

  3. Turn on Email Inbound and paste your address into Inbox ID.

  4. Click Test. Connected successfully means the key and the inbox both work.

  5. Add the people allowed to email it under Approved Senders.

In Terminal, run this, then paste your key when it asks for a password (twice). Typing the key this way keeps it out of Terminal's history.

bash
security add-generic-password -s AgentMail -a api-key -w

Add a user environment variable named AGENTMAIL_API_KEY holding your key, then restart Yardmaster.

With Approved Senders empty, anyone who learns the address can start a session. For more safety, click Generate next to Inbox Secret Token: then an email only gets through if its subject also contains [MC: and the token.

Did this help?