Documentation Index
Fetch the complete documentation index at: https://docs.hybridbox.io/llms.txt
Use this file to discover all available pages before exploring further.
صناديق البريد
إدارة صناديق بريد SMTP وبيانات الاعتماد ونطاقات الصناديق.
تستخدم الأمثلة وضع الكود في A2A. يتيح MCP وضع الكود نفسه عبر أداة execute.
الوظائف
mailboxes.add
mailboxes.add(account_id: str, domain: str, first_name: str, last_name: str, local_part: str) -> Mailbox
صناديق البريد: mailboxes.add.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.create | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.create |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | POST /v1/public/accounts/{account_id}/mailboxes | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
domain | str | نعم |
first_name | str | نعم |
last_name | str | نعم |
local_part | str | نعم |
| الحقل | النوع | مطلوب |
|---|
created_at | str | نعم |
domain_id | str | نعم |
domain_name | str | نعم |
first_name | str | نعم |
id | str | نعم |
last_name | str | نعم |
local_part | str | نعم |
primary_email | str | نعم |
quota | {"allowed": int, "used": int} | نعم |
status | str | نعم |
updated_at | str | نعم |
aliases | [{"alias": str, "is_catch_all"?: bool}] | لا |
workspace_id | str | null | لا |
workspace_name | str | null | لا |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", first_name=\"<string>\", last_name=\"<string>\", local_part=\"<string>\")"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "mailboxes.add",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", first_name=\"<string>\", last_name=\"<string>\", local_part=\"<string>\")"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.add\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
mailboxes.aliases.create
mailboxes.aliases.create(account_id: str, mailbox: str, alias: str, is_catch_all?: bool) -> Mailbox
صناديق البريد: mailboxes.aliases.create.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.alias.manage | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.alias.manage |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | POST /v1/public/accounts/{account_id}/mailboxes/{mailbox}/aliases | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
mailbox | str | نعم |
alias | str | نعم |
is_catch_all | bool | لا |
| الحقل | النوع | مطلوب |
|---|
alias | str | نعم |
is_catch_all | bool | لا |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.aliases.create(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\", alias=\"<string>\", is_catch_all=true)"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": true
},
"responses": [
{
"index": 0,
"function": "mailboxes.aliases.create",
"status": "completed",
"result": true
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.aliases.create(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\", alias=\"<string>\", is_catch_all=true)"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": true\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.aliases.create\",\n \"status\": \"completed\",\n \"result\": true\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
mailboxes.aliases.delete
mailboxes.aliases.delete(account_id: str, alias: str, mailbox: str) -> {}
صناديق البريد: mailboxes.aliases.delete.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.alias.manage | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.alias.manage |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | DELETE /v1/public/accounts/{account_id}/mailboxes/{mailbox}/aliases/{alias} | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
alias | str | نعم |
mailbox | str | نعم |
| الحقل | النوع | مطلوب |
|---|
result | {} | نعم |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.aliases.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", alias=\"<string>\", mailbox=\"<string>\")"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": {}
},
"responses": [
{
"index": 0,
"function": "mailboxes.aliases.delete",
"status": "completed",
"result": {}
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.aliases.delete(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", alias=\"<string>\", mailbox=\"<string>\")"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": {}\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.aliases.delete\",\n \"status\": \"completed\",\n \"result\": {}\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
mailboxes.bulk_add
mailboxes.bulk_add(account_id: str, domain: str, items: [{"first_name": str, "last_name": str, "local_part": str}]) -> Mailbox
صناديق البريد: mailboxes.bulk_add.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.create | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.create |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | POST /v1/public/accounts/{account_id}/mailboxes/bulk | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
domain | str | نعم |
items | [{"first_name": str, "last_name": str, "local_part": str}] | نعم |
| الحقل | النوع | مطلوب |
|---|
created | [{"index": int, "mailbox": {"created_at": str, "domain_id": str, "domain_name": str, "first_name": str, "id": str, "last_name": str, "local_part": str, "primary_email": str, "quota": {"allowed": int, "used": int}, "status": str, "updated_at": str, "aliases"?: [{"alias": str, "is_catch_all"?: bool}], "workspace_id"?: str | null, "workspace_name"?: str | null}}] | نعم |
failed | [{"code": str, "index": int, "message": str}] | نعم |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.bulk_add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", items=\"<string>\")"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "mailboxes.bulk_add",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.bulk_add(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", items=\"<string>\")"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.bulk_add\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
mailboxes.get
mailboxes.get(account_id: str, mailbox: str) -> Mailbox
صناديق البريد: mailboxes.get.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.view | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.view |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | GET /v1/public/accounts/{account_id}/mailboxes/{mailbox} | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
mailbox | str | نعم |
| الحقل | النوع | مطلوب |
|---|
created_at | str | نعم |
domain_id | str | نعم |
domain_name | str | نعم |
first_name | str | نعم |
id | str | نعم |
last_name | str | نعم |
local_part | str | نعم |
primary_email | str | نعم |
quota | {"allowed": int, "used": int} | نعم |
status | str | نعم |
updated_at | str | نعم |
aliases | [{"alias": str, "is_catch_all"?: bool}] | لا |
workspace_id | str | null | لا |
workspace_name | str | null | لا |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.get(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\")"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "mailboxes.get",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.get(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\")"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.get\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
mailboxes.list
mailboxes.list(account_id: str, domain?: str | null, page?: int, page_size?: int, search?: str | null, workspace_id?: str | null) -> Page[Mailbox]
صناديق البريد: mailboxes.list.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.view | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.view |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | GET /v1/public/accounts/{account_id}/mailboxes | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
domain | str | null | لا |
page | int | لا |
page_size | int | لا |
search | str | null | لا |
workspace_id | str | null | لا |
| الحقل | النوع | مطلوب |
|---|
items | [{"created_at": str, "domain_id": str, "domain_name": str, "first_name": str, "id": str, "last_name": str, "local_part": str, "primary_email": str, "quota": {"allowed": int, "used": int}, "status": str, "updated_at": str, "aliases"?: [{"alias": str, "is_catch_all"?: bool}], "workspace_id"?: str | null, "workspace_name"?: str | null}] | نعم |
page | int | نعم |
page_size | int | نعم |
total | int | نعم |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", page=123, page_size=123, search=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "mailboxes.list",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.list(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", domain=\"example.com\", page=123, page_size=123, search=\"<string>\", workspace_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\")"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.list\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
mailboxes.reveal_credentials
mailboxes.reveal_credentials(account_id: str, mailbox: str) -> Mailbox
صناديق البريد: mailboxes.reveal_credentials.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.credential.reveal | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.credential.reveal |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | POST /v1/public/accounts/{account_id}/mailboxes/{mailbox}/reveal-credentials | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
mailbox | str | نعم |
| الحقل | النوع | مطلوب |
|---|
password | str | نعم |
username | str | نعم |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.reveal_credentials(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\")"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": {
"password": "<string>",
"username": "<string>"
}
},
"responses": [
{
"index": 0,
"function": "mailboxes.reveal_credentials",
"status": "completed",
"result": {
"password": "<string>",
"username": "<string>"
}
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.reveal_credentials(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\")"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": {\n \"password\": \"<string>\",\n \"username\": \"<string>\"\n }\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.reveal_credentials\",\n \"status\": \"completed\",\n \"result\": {\n \"password\": \"<string>\",\n \"username\": \"<string>\"\n }\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}
mailboxes.update
mailboxes.update(account_id: str, mailbox: str, first_name?: str | null, last_name?: str | null) -> Mailbox
صناديق البريد: mailboxes.update.
| الخاصية | القيمة | الخاصية | القيمة |
|---|
| الإذن المطلوب | mailbox.update | المصادقة مطلوبة | نعم |
| وضع التنفيذ | sync | الصلاحية | mailbox.update |
| نوع المورد | account | حقل معرف المورد | account_id |
| مسار API العام | PATCH /v1/public/accounts/{account_id}/mailboxes/{mailbox} | | |
| الاسم | النوع | مطلوب |
|---|
account_id | str | نعم |
mailbox | str | نعم |
first_name | str | null | لا |
last_name | str | null | لا |
| الحقل | النوع | مطلوب |
|---|
created_at | str | نعم |
domain_id | str | نعم |
domain_name | str | نعم |
first_name | str | نعم |
id | str | نعم |
last_name | str | نعم |
local_part | str | نعم |
primary_email | str | نعم |
quota | {"allowed": int, "used": int} | نعم |
status | str | نعم |
updated_at | str | نعم |
aliases | [{"alias": str, "is_catch_all"?: bool}] | لا |
workspace_id | str | null | لا |
workspace_name | str | null | لا |
الطلب:{
"request_id": "example",
"session_id": "session_123",
"code": "mailboxes.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\", first_name=\"<string>\", last_name=\"<string>\")"
}
الاستجابة:{
"request_id": "example",
"status": "completed",
"result": {
"last_value": 123
},
"responses": [
{
"index": 0,
"function": "mailboxes.update",
"status": "completed",
"result": 123
}
],
"complexity_score": 1
}
الطلب:{
"jsonrpc": "2.0",
"id": "example",
"method": "tools/call",
"params": {
"name": "hybridbox_execute",
"arguments": {
"code": "mailboxes.update(account_id=\"3c90c3cc-0d44-4b50-8888-8dd25736052a\", mailbox=\"<string>\", first_name=\"<string>\", last_name=\"<string>\")"
}
}
}
الاستجابة:{
"jsonrpc": "2.0",
"id": "example",
"result": {
"content": [
{
"type": "text",
"text": "{\n \"request_id\": \"example\",\n \"status\": \"completed\",\n \"result\": {\n \"last_value\": 123\n },\n \"responses\": [\n {\n \"index\": 0,\n \"function\": \"mailboxes.update\",\n \"status\": \"completed\",\n \"result\": 123\n }\n ],\n \"complexity_score\": 1\n}"
}
],
"isError": false
}
}