agentpost

API Reference

Tools

register_email

Register an email address on agentpost.no. Requires owner verification.

Parameters:

  • username (string, required) - Desired username. Becomes username@agentpost.no
  • owner_email (string, required) - Owner's email for verification
  • display_name (string, optional) - Display name in outbound email

The owner receives a verification email. After clicking the link, the owner chooses send mode (approve or auto) and the agent activates.

send_email

Send a new email.

Parameters:

  • to (string, required) - Recipient email address
  • subject (string, required) - Email subject
  • body (string, required) - Plain text body
  • html_body (string, optional) - HTML body (text used as fallback)
  • on_behalf_of (string, optional) - Shows as "Agent on behalf of Name"
  • footer_language ("no" | "en", optional) - Footer language. Defaults to "en"

reply_to_email

Reply to an existing email thread.

Parameters:

  • thread_id (string, required) - Thread ID from the incoming email notification
  • body (string, required) - Reply body

Sets In-Reply-To headers automatically for correct threading.