agentmail
Installation
SKILL.md
AgentMail
An API-first mailbox built for agents. Unlike one-way senders (Resend, SendGrid, SES), an AgentMail inbox both sends and receives, so an agent can drive a real email round trip end to end: sign up for a service, wait for the verification mail, pull the code out, and continue.
Credentials
AGENTMAIL_API_KEY is exported globally from ~/.zshenv, so it is already in the environment of any shell an agent spawns. Confirm before doing anything else:
[ -n "$AGENTMAIL_API_KEY" ] && echo "key present" || echo "key missing"
If it is missing, the key lives in ~/.zshenv; source it rather than asking the user to paste it again. Refer to the key as $AGENTMAIL_API_KEY in every command. Keep the literal value out of transcripts, commit messages, source files, and any .env that git tracks.
Auth is a bearer header on every REST call:
-H "Authorization: Bearer $AGENTMAIL_API_KEY"