update_email_messages
ActiveTool of run.domani/domani
declared in 1.0.0
Apply a reversible mailbox lifecycle action to up to 100 messages, or permanently delete messages already in Trash with email:delete. API: POST /api/emails/{address}/messages/actions.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"domain",
"slug",
"message_ids",
"action"
],
"properties": {
"read": {
"type": "boolean",
"description": "Required for mark_read"
},
"slug": {
"type": "string",
"description": "Mailbox slug"
},
"action": {
"enum": [
"move",
"mark_read",
"star",
"restore",
"delete_permanently"
],
"type": "string"
},
"domain": {
"type": "string",
"description": "Mailbox domain"
},
"starred": {
"type": "boolean",
"description": "Required for star"
},
"destination": {
"enum": [
"inbox",
"archive",
"sent",
"spam",
"trash"
],
"type": "string",
"description": "Required for move"
},
"message_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"description": "Explicit message IDs"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
run.domani/domani
https://github.com/gwendall/domani
1/7 registries