This commit is contained in:
a2a-platform
2026-06-04 22:39:51 +00:00
parent eb4abbf0eb
commit f733d482d7
4 changed files with 153 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
"language": "python",
"name": "mailu-openapi-agent",
"description": "Mailu administration agent generated from the live Mailu OpenAPI spec.",
"version": "1.0",
"version": "1.2",
"entrypoint": {
"module": "agent",
"class_name": "MailuOpenapiAgent",
@@ -220,6 +220,65 @@
"type": "object"
}
},
{
"name": "read_sent",
"description": "Mint a temporary Mailu token for a mailbox, read sent messages over IMAPS, then delete the token.",
"handler": "read_sent",
"tags": [
"mailbox",
"imap",
"email"
],
"scopes": [],
"stream": false,
"policy": {
"timeout_seconds": 120.0,
"idempotent": false,
"max_retries": 0,
"cost_class": null,
"allow_scope_expansion": false,
"grant_mode": null,
"grant_allow_patterns": [],
"grant_deny_patterns": [],
"grant_outputs_prefix": null,
"grant_write_prefixes": [],
"grant_ttl_seconds": null,
"grant_run_timeout_seconds": null,
"grant_approval_timeout_seconds": null,
"grant_scope_approval_timeout_seconds": null
},
"input_schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"mailbox": {
"type": "string"
},
"limit": {
"type": "integer"
},
"max_body_chars": {
"type": "integer"
},
"imap_host": {
"type": "string"
},
"imap_port": {
"type": "integer"
}
},
"required": [
"email"
],
"additionalProperties": false
},
"output_schema": {
"additionalProperties": true,
"type": "object"
}
},
{
"name": "mark_email_read",
"description": "Mint a temporary Mailu token for a mailbox, mark one IMAP UID as read, then delete the token.",
@@ -2519,7 +2578,7 @@
"source": "python-a2a-pack",
"project_manifest": {
"name": "mailu-openapi-agent",
"version": "1.0",
"version": "1.2",
"entrypoint": "agent:MailuOpenapiAgent"
}
}