Email

List the conversations of a mailbox

Messages grouped the way mail clients group them: a reply joins the thread of the message it answers (In-Reply-To, then the References chain), mail without usable headers joins the most recent thread with the same subject and a correspondent in common within thirty days, everything else starts a thread whose id is its first message's id. Threads are ordered by last activity; trash and spam never take part unless named as the folder. folder=inbox|archive|sent keeps the threads that have a message there but still counts the whole conversation.

get/api/emails/{address}/threads

Request

  • Base URL: https://domani.run
  • URL: https://domani.run/api/emails/{address}/threads
  • Auth: HTTP bearer

Path parameters

addressstring required

Query parameters

folder'all' | 'inbox' | 'archive' | 'sent' | 'spam' | 'trash'
sincestring date-time

Only threads with activity after this time

limitinteger
cursorstring

next_cursor from the previous page

labelstring

Comma-separated labels: only threads with a message carrying any of them

Response

Threads, newest activity first

next_cursorstring nullable required
has_moreboolean required

Changes

No recorded changes to this operation across all 2 revisions of this API.