email

Installation
SKILL.md

Email

Each autark user has their own AgentMail inbox (e.g. kushal@kushalsm.com, laksh@kushalsm.com) provisioned at onboarding. Use the inbox tied to this user's autark login for all outreach and signups.

Auth — read the token from ~/.autark/credentials.json

The autark installer drops a per-inbox API key into ~/.autark/credentials.json (agentmail_token field). The same file holds the inbox email under agentmail_email. Every send goes through this token; it's scoped to one inbox so it can't read other users' mail.

Standard prelude for any shell call:

AGENTMAIL_API_KEY="${AGENTMAIL_API_KEY:-$(jq -r .agentmail_token ~/.autark/credentials.json 2>/dev/null)}"
AGENTMAIL_EMAIL="${AGENTMAIL_EMAIL:-$(jq -r .agentmail_email ~/.autark/credentials.json 2>/dev/null)}"
[ -z "$AGENTMAIL_API_KEY" ] && { echo "no agentmail token — run: autark onboard agentmail"; exit 1; }
[ -z "$AGENTMAIL_EMAIL" ]   && { echo "no agentmail email — credentials missing agentmail_email"; exit 1; }

AGENTMAIL_API_KEY and AGENTMAIL_EMAIL are also honored from the environment (useful for one-off debugging) — credentials.json is just the default.

Related skills
Installs
7
Repository
kiluazen/skills
First Seen
5 days ago