agent-email
Installation
SKILL.md
Agent email
The agent has its own address: $AGENT_EMAIL_ADDRESS. Use it for all signups and registrations. If it is not set, stop and tell the user to configure the provider.
Provider
$AGENT_EMAIL_PROVIDER selects the provider. Read the reference for it:
agentmailor unset:references/agentmail.mdsmtp:references/smtp.md
Signup
- Record the start time:
start=$(date -u +%Y-%m-%dT%H:%M:%SZ). - Submit the signup with
$AGENT_EMAIL_ADDRESS. For web forms, use thebrowserskill. - Poll for mail from the service, received after
$start, every 10 seconds for a maximum of 3 minutes. The step is complete when the message arrives. If no message arrives, request a new email once, then report to the user. - Read the message and get the code or link. Open the link in the same browser session.