Skip to main content
POST
Mark an email as read

Authorizations

X-API-KEY
string
header
required

Your access token, from your dashboard under API keys.

Path Parameters

account_id
string
required

The account's acc_… id.

email_id
string
required

The email's email_… id.

Response

The updated email.

object
enum<string>
Available options:
Email,
Draft
id
string

email_…; stays the same when the email moves.

account_id
string
thread_id
string

The conversation; see Get a thread.

date
string<date-time>
subject
string
from_attendee
object

A sender or recipient of an email, as the API returns it.

to_attendees
object[]
cc_attendees
object[]
bcc_attendees
object[]
reply_to_attendees
object[]
body
string

HTML body.

body_plain
string
has_attachments
boolean
attachments
object[]
folders
string[]

The fld_… ids of its folders; the folder's role says if it's the inbox, Sent…

is_unread
boolean
is_complete
boolean

Always true: large emails are stored whole too.

headers
object[]

Every header, including Message-ID, In-Reply-To and References.

origin
enum<string>

api: sent through this API.

Available options:
api,
external
is_echo
boolean

Sent by the mailbox owner from their own email app (in Sent, not through this API).

sent_by
object | null

Sent through this API: the key it was sent with and the metadata given when sending.

tracking_id
string | null

Open/click tracking of this email (trk_…).

draft_id
string

Drafts only.