Retrieve received email
One received email with its text, its HTML and the names of its attachments.
View as
GET
/v1/inbound/{id}Needs the scopeemails:read
Path parameters
idstringRequiredThe id of the item. Up to 64 characters.
Returns
object"inbound_email"Always
inbound_email.idstringThe id of the received email.
fromstringThe address it came from.
fromNamestring | nullThe name of the sender, or
nullwhen the message gave none.tostringThe address it was sent to, on one of your domains.
subjectstringThe subject line.
domainstringThe domain of yours that received it.
spambooleanWhether it was judged to be spam.
sizeintegerThe size of the whole message in bytes.
attachmentsintegerHow many files were attached.
createdAtstringWhen it arrived.
textstring | nullThe message as plain text, or
null.htmlstring | nullThe message as HTML, or
null.truncatedbooleanWhether the message was too long to keep whole.
messageIdstringThe
Message-IDheader of the message.filesobject[]The attached files. Their content is not kept.
files[].filenamestringThe name of the file.
files[].mimeTypestringThe media type of the file.
files[].sizeintegerThe size of the file in bytes.