sendMessage
Send messages securely within isolated inboxes on AgentMail. Specify recipients, subject, text, and optional HTML for AI agents to communicate effectively.
Instructions
Send a message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bcc | No | ||
| cc | No | ||
| html | No | ||
| inbox_id | Yes | ||
| subject | Yes | ||
| text | Yes | ||
| to | Yes |
Input Schema (JSON Schema)
{
"properties": {
"bcc": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Bcc"
},
"cc": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Cc"
},
"html": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Html"
},
"inbox_id": {
"title": "Inbox Id",
"type": "string"
},
"subject": {
"title": "Subject",
"type": "string"
},
"text": {
"title": "Text",
"type": "string"
},
"to": {
"items": {
"type": "string"
},
"title": "To",
"type": "array"
}
},
"required": [
"inbox_id",
"to",
"subject",
"text"
],
"title": "sendMessageArguments",
"type": "object"
}