Retrieve received email
One received email with its text, its HTML and the names of its attachments.
inbound_getArguments
idstringRequiredThe id of the item. Up to 64 characters.
Returns
The answer comes back under structuredContent, with the same JSON as text in content. A call the API refuses comes back with isError set, and the code and the message under structuredContent.error. MCP shows how to connect a client.
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.