Send a notification email to the authenticated account’s email address via the Resend API. Emails are sent from Agent by Recoup <agent@recoupable.com>. The recipient is automatically resolved from the API key or Bearer token. Supports plain text (rendered as Markdown) or raw HTML bodies, optional CC recipients, custom headers, and an optional room_id to include a chat link in the email footer.
Your Recoup API key. Learn more.
Notification email payload
Email subject line
"Weekly Pulse Report"
Optional CC email addresses
["cc@example.com"]Plain text or Markdown body. Rendered as HTML via Markdown if no html is provided.
"# Pulse Report\n\nHere's your weekly summary."
Raw HTML body. Takes precedence over text when both are provided.
"<h1>Pulse Report</h1><p>Here's your weekly summary.</p>"
Optional custom email headers
Room ID to include a chat link in the email footer
UUID of the account to send the notification for. Only applicable for organization API keys - org keys can specify an account_id for any account within their organization. If not provided, sends the notification for the API key's own account.
Notification sent successfully