Quickstart

Run the container or the binary behind HTTPS, with a master key and storage.

Read What every deployment needs first.

Run it

Docker

# 1. Generate a master key once, and keep a copy of master.key somewhere safe
test -s master.key || (umask 077 && docker run --rm postkeep/postkeep generate-key > master.key)

# 2. From the folder with master.key, start the server behind your HTTPS proxy
docker run -d --name postkeep -p 127.0.0.1:8080:8080 \
  -v postkeep:/data \
  -e POSTKEEP_PUBLIC_URL=https://mail.example.com \
  -e POSTKEEP_MASTER_KEY="$(cat master.key)" \
  -e POSTKEEP_ALLOWED_EMAILS=alice@example.com \
  postkeep/postkeep

Connect your agent app

Add https://mail.example.com/mcp to your agent app and sign in with your mailbox: the Agent apps page has the steps for each app.