Skip to content

Email notifications

agent-data notify sends a message to the email address on your account. It accepts a subject and Markdown body. It has no arbitrary-recipient option.

You need an authenticated CLI or an HTTP API key.

  1. Preview the message.
  2. Send the reviewed message.
  3. Check the result in your inbox.
Terminal window
agent-data notify \
--subject "agent-data documentation check" \
--body "The get-data tutorial retrieved YouTube results." \
--dry-run

This CLI 0.13.0 preview comes from November 14, 2026. The excerpt omits headers, including Authorization.

{
"dry_run": true,
"method": "POST",
"url": "https://agent-data.motie.dev/api/v1/notify",
"body": {
"subject": "agent-data documentation check",
"body": "The get-data tutorial retrieved YouTube results."
}
}

Check the subject and body. dry_run: true means no email was sent.

Send the same message after your review. If a coding agent prepares it, explicitly instruct the agent to send the reviewed text.

Remove --dry-run to send the message.

Terminal window
agent-data notify \
--subject "agent-data documentation check" \
--body "The get-data tutorial retrieved YouTube results."

Check the command’s response and your inbox separately. Request acceptance does not establish email arrival.

For a prepared Markdown file, use standard input. The first command previews the message. The second command sends it.

./
└── summary.md # Your prepared message
Terminal window
agent-data notify --subject "Research summary" --dry-run < summary.md
agent-data notify --subject "Research summary" < summary.md
OptionMeaning
--subject <subject>Required text, at most 200 characters, without line breaks.
--body <markdown>Markdown text, at most 32,768 UTF-8 bytes in the CLI. Omit it to read standard input.
--dry-runPrint the request without email submission.
--api-key, --base-url, --verbose, --helpSee common CLI options.

The published CLI defines these input limits. Non-ASCII text can use multiple UTF-8 bytes per character.

What you seeWhat to do
The CLI reports a missing subject or empty body.Supply the missing field.
The CLI reports an input above its limit.Reduce that field to the documented limit.
The command waits for standard input.Finish the input, or redirect your file with < summary.md.
Authentication fails.Check the credential with agent-data auth status.
A send request times out.Retain the error. Check the inbox before another send because a timeout does not establish rejection.

Use the API data guide to retrieve records before you prepare an email. See usage for how notifications differ from data calls.