Set the read state of inbound emails in a thread
Set the read state of inbound emails in a thread with the Mailly email API for AI agents: PATCH /inbox/threads/{threadId}/read-state. Parameters, request body, responses and code samples.
PATCH
bearerAuthheader
AuthorizationBearer <token>Mailly API key(Authorization: Bearer )
threadId*stringThread ID
application/json- body
is_read*booleantrue marks as read, false marks as unread
folder?stringinbox or quarantine, default inbox
[key: string]?unknownUpdated
application/json- response
success*booleanthread_id*stringis_read*booleanupdated_count*number[key: string]?unknowncurl -X PATCH 'https://api.mailly.site/inbox/threads/string/read-state' \ -H 'Content-Type: application/json' \ -d '{ "is_read": true, "property1": null, "property2": null}'{ "success": true, "thread_id": "string", "is_read": true, "updated_count": 0, "property1": null, "property2": null}Set the read state of an email PATCH
Set the read state of an email with the Mailly email API for AI agents: PATCH /inbox/messages/{id}/read-state. Parameters, request body, responses and code samples.
Translate text segments of an email POST
Translate text segments of an email with the Mailly email API for AI agents: POST /inbox/messages/{id}/translations. Parameters, request body, responses and code samples.