/
/mailsac API Specification
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 5h ago · Updated 2mo ago
Account2
Addresses7
Attachments6
Domains2
emailValidation2
Messages21
  • getCount messages for an email inbox
  • getList messages for an email inbox
  • deleteDelete all messages for an email inbox
  • getList starred (saved) messages on the account
  • getGet email message metadata
  • deleteDelete an email message
  • getGet original SMTP message
  • getGet parsed message headers
  • getGet message HTML body (dirty)
  • getGet the message HTML body (sanitized)
  • getGet message plaintext
  • putStar (save) a message
  • putAdd a label to a message
  • deleteRemove a label from a message
  • putMove a message into a folder
  • putSet message read/unread status
  • getGet all account messages paginated
  • getFilter messages in account by to, from, and/or subject
  • getSearch messages by to, from, and subject
  • getList messages for an domain
  • postDelete all messages in a domain
messageStats5
Web Sockets1
Webhooks1
    Messages

    Get message HTML body (dirty)

    Get a message's HTML content.

    Attached images are inlined and nothing has been stripped.

    When no HTML body was sent in the original message, a simple HTML body will be created.

    Use the querystring param ?download=1 to trigger file download in browser.

    get/dirty/{email}/{messageId}

    Response

    OK

    Changes