Set email sign-in settings
set_email_settingsRequires sign-in (scope orgs:manage). Set the email-code sign-in settings and turn email sign-in on. Own server: host, port (465 or 587), security (tls or starttls), username, password (write-only, stored encrypted; may be left out only when host, port and user name are unchanged), fromAddress, optional fromName and template (minimal or graphic) and dailyCap. Or sender platform (when the server offers it, see platformSenderAvailable) with only template, fromName, dailyCap and monthlyCap (monthlyCap above the platform default needs a platform token). Use send_test_email afterwards.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tenant": "<tenant>"
},
"name": "set_email_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SMTP server host name | |
| port | No | SMTP port, 465 or 587 | |
| sender | No | who sends the sign-in mails: platform (Algizian) or your own SMTP server | |
| tenant | Yes | tenant slug | |
| dailyCap | No | most mails sent per day | |
| fromName | No | sender name shown in the mails | |
| password | No | write-only | |
| security | No | SMTP security: tls or starttls | |
| template | No | mail layout: minimal or graphic | |
| username | No | SMTP user name | |
| monthlyCap | No | most mails sent per month (above the platform default needs a platform token) | |
| fromAddress | No | sender address of the mails |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | The result of the call: the same JSON the REST API returns for this operation (docs/api, the OpenAPI document), or null when there is nothing to return. |