Email

Show the details of an email

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Attributes

Attribute NameTypeDescriptionAttributes
selfreferenceURL of the EmailRead-only
Non-null
message_idstringThe email's Message-ID header. Must be unique for each email: the Daylite app and Daylite Mail Assistant rely on it. The API does not check thisRead-Write
Non-null
Required
Searchable
parent_message_idstringThe Message-ID of the email this one replies toRead-Write
Nullable
datedatetimeWhen the email was sent. Can only be set when creating the emailRead-Write
Nullable
Searchable
subjectstringThe subject (max 512 characters). Editable only when the Daylite setting that allows editing email content is onRead-Write
Nullable
Searchable
fromstringThe sender, e.g. Jane Smith <[email protected]>. Editable only when the Daylite setting that allows editing email content is onRead-Write
Non-null
Required
toarray of stringRecipients. Send them as one comma-separated string. Editable only when the Daylite setting that allows editing email content is onRead-Write
Nullable
ccarray of stringCC recipients. Send them as one comma-separated string. Editable only when the Daylite setting that allows editing email content is onRead-Write
Nullable
bccarray of stringBCC recipients. Send them as one comma-separated string. Editable only when the Daylite setting that allows editing email content is onRead-Write
Nullable
appointmentsarray of linkLinked AppointmentsRead-Write
Nullable
Searchable
contactsarray of linkLinked ContactsRead-Write
Nullable
Searchable
companiesarray of linkLinked CompaniesRead-Write
Nullable
Searchable
groupsarray of linkLinked GroupsRead-Write
Nullable
Searchable
notesarray of linkLinked NotesRead-Write
Nullable
Searchable
formsarray of linkLinked FormsRead-Write
Nullable
Searchable
opportunitiesarray of linkLinked OpportunitiesRead-Write
Nullable
Searchable
projectsarray of linkLinked ProjectsRead-Write
Nullable
Searchable
tasksarray of linkLinked TasksRead-Write
Nullable
Searchable
bodyreferenceURL of the Email BodyRead-only
Non-null
categorystringCategory nameRead-Write
Nullable
Searchable
keywordsarray of stringList of Keywords (max 64)Read-Write
Nullable
Searchable
ownerreferenceURL of the User responsible for the emailRead-Write
Non-null
Default value is the user making the request
Searchable
creatorreferenceURL of the User that created the emailRead-only
Non-null
Searchable
trashedbooleanWhether the email is in the trash. Set to false to restore itRead-only
Non-null
create_datedatetimeWhen the email was added to DayliteRead-only
Non-null
Searchable
modify_datedatetimeWhen the email was last updatedRead-only
Non-null
Searchable

Recipients

to, cc and bcc are returned as arrays of addresses, but are sent as a single comma-separated string:

{ "to": "[email protected], Sam Lee <[email protected]>" }

Editing emails

subject, from, to, cc and bcc can always be set when creating an email. After that, they can only be changed when the Daylite setting that allows editing email content is on. Otherwise each one returns read_only. Categories, keywords, links and the owner can always be changed.

The body is a separate resource. See Email Body.

Path Params
int32
required

The email ID

Query Params
boolean

Return a smaller version of the record that leaves out lists and linked records.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json