Skip to content
Browse the docs

Frameworks and agents · Published 2026-11-23 · Updated 2026-11-24 · AgentiSend

Send through SMTP

SMTP host, username and password. Outgoing mail is not offered until the host is published.

The status page reports Outgoing mail as not offered until smtp.agentisend.com is published. The settings on this page are what to enter when that line says the host is up. Until then, send with POST /emails.

When the host is up, it accepts a message on port 587 (the connection starts in the clear and then upgrades) and on port 465 (TLS from the first byte). The username is agentisend. The password is an API key with permission to send. There is no separate SMTP password. A message that is accepted becomes one POST /emails made with that key, so the send budget, the loop guard, suppressions, approval, the kill switch and domain verification apply to it the same way they apply to an API call.

Port 25 is not open. Authentication before the connection is encrypted is refused. A connection that has not authenticated cannot send mail.

What you can put in the message

From, To, Cc, Reply-To, the subject, the text body, the HTML body and attachments, including an inline image with a content id. Bcc is whoever is on the recipient list and is not in To or Cc. Up to 50 recipients.

A header named Idempotency-Key, Resend-Idempotency-Key, X-Entity-Ref-ID or Message-ID is reused when the same message is submitted again, so the retry is one send. Other custom headers are kept when the API accepts them.

What a refusal looks like

The reply text is the API's message and the change it asks for.

  • The username or the key was not accepted. Check the username is agentisend and the password is a current send key.
  • The sending domain is not verified, the key is paused, or the budget for this period is spent. The reply says what to change. Sending the same message again will not get through until that change is made.
  • The key has hit its per-minute ceiling. The reply includes "Retry after N seconds." Wait that long and submit the same message again.
  • The API did not answer. Retry the same message.
  • Too many failed sign-ins from one address, or too many connections from one address. Retry later.
  • The connection has sent its message limit. Open another connection.

Ghost

Ghost's mail transport SMTP, host smtp.agentisend.com, port 465, secure true. Auth user agentisend, password the API key. Ghost documents this block as "Secure connection" in its configuration reference.

Discourse

DISCOURSE_SMTP_ADDRESS smtp.agentisend.com, DISCOURSE_SMTP_PORT 587, DISCOURSE_SMTP_USER_NAME agentisend, DISCOURSE_SMTP_PASSWORD the API key, DISCOURSE_SMTP_AUTHENTICATION plain. These names are the ones in Discourse's standalone sample.

Mastodon

SMTP_SERVER smtp.agentisend.com, SMTP_PORT 587, SMTP_LOGIN agentisend, SMTP_PASSWORD the API key, SMTP_AUTH_METHOD plain, SMTP_ENABLE_STARTTLS_AUTO true. Leave SMTP_TLS and SMTP_SSL off. Mastodon's own default port is 25; this host does not accept that port.

Nextcloud

SMTP mode, host smtp.agentisend.com, port 587, security left empty so the connection upgrades, authentication on, name agentisend, password the API key. For TLS from the first byte, set security to ssl and the port to 465.

Supabase

In the Auth SMTP settings: host smtp.agentisend.com, port 587, user agentisend, password the API key. The Send Email Hook described in the Supabase guide stays the path that works while Outgoing mail is not offered.

Firebase Trigger Email

Connection URI smtps://agentisend@smtp.agentisend.com:465. Put the API key in the password field, not in the URI.

WordPress

On phpmailer_init, call isSMTP(), set the host to smtp.agentisend.com, the port to 587, authentication on, secure tls, username agentisend, password the API key. This is the fallback when a plugin has no HTTP transport.