↓ Skip to main content

Email Agent Playbook

A series in 5 parts.

patrik.re Archive

Gmail API Credentials the Paranoid Way

Setting up Google Cloud OAuth credentials with minimal scopes for an AI email agent — because 'full access' is never the right default.

patrik.re Archive

Wiring Gmail into OpenClaw

Installing the Gmail MCP server, configuring agent tools, and filtering down to only the operations you actually want.

patrik.re Archive

Writing a SOUL.md for Email

Defining hard rules, tone guidelines, and PII handling for an AI email agent — because 'be helpful' isn't a security policy.

patrik.re Archive

Guardrails That Actually Work

A four-layer defense model for AI email agents — because no single safety measure is enough when your inbox is on the line.

patrik.re Archive

Daily Workflows with the Email Agent

Real usage patterns for an AI email agent — morning triage, thread summaries, draft replies, and where the human stays in the loop.