Skip to content

AI email automation

Let your agent work inside clear boundaries

StalkMail exposes the same actions the dashboard uses through a REST API and MCP server, so an assistant can help with newsletters without bypassing your rules.

How it works

Automation with guardrails

Useful for drafting, scheduling and reporting, with checks that stay in place.

Give the agent a scoped key

Each API key belongs to one newsletter, can be revoked, and is stored as a hash. MCP actions can be disabled independently.

Let it draft and schedule

An agent can create a campaign, set the subject and content, and choose a send time using the same API actions as the dashboard.

Keep a human gate on sends

Sending to the whole audience requires confirmation. Test sends and smaller, explicit audiences are easier to review before delivery.

Read the report back

Agents can fetch campaign data and analytics, then summarise delivery, bounces, clicks and estimated opens.

Start with an authenticated read

Every API request uses a bearer token tied to one newsletter.

curl https://stalkmail.com/api/v1/overview \
  -H "Authorization: Bearer sm_live_YOUR_KEY"