send Mail
fun sendMail(to: String, subject: String, body: String, sessionId: String, clientIP: String = "unknown"): MailBridge.MailResult
Attempts to send an email on behalf of the AI model.
Return
A MailResult indicating success or failure with a reason.
Parameters
to
Recipient email address.
subject
Email subject.
body
Email body (plain text).
session Id
The streaming session ID for per-session rate limiting.
client IP
The IP address of the requesting client (for audit logging).