API version:
  • 1.0
  • 1.1
  • 2.0

accounts/messages/source

Data transfer for this call is metered and charged at the end of the month. See our pricing for more information.

This call returns the raw RFC-822 message source for the message (including attachments) with no parsing or decoding to any portions of the message.

Supported methods

GET

GET: Fetch the message source

GET https://api.context.io/2.0/accounts/id/messages/message_id/sourcetest it
idUnique id of an account accessible through your API key
message_idUnique id of a message. This can be the message_id or email_message_id property of the message. The gmail_message_id (prefixed with gm-) can also be used.
On-demand data retrieval

Since we do not keep full copies of emails on our servers, this call triggers a connection to the IMAP server to fetch the message. Attachments are part of the message source so they will impact how fast this call responds.