# GetEmailAsMsgCallbackParams

**Kind**: interface | **Module**: [Outlook](https://docs.interop.io/adapters/reference/javascript/outlook/index.md)

**Source**: https://docs.interop.io/adapters/reference/javascript/outlook/getemailasmsgcallbackparams/index.html

The parameters with which the callback of getEmailAsMsg is called.

## Properties

- **`cookie`** (`string`, required)
  The cookie of the email.
- **`data`** (`string`, required)
  The email data in base64 format.
- **`errorMessage`** (`string`, required)
  Error message.
- **`length`** (`number`, required)
  The length of the current data chunk.
- **`more`** (`boolean`, required)
  Set to true if the data has been chunked and there are more chunks to be received.
- **`offset`** (`number`, required)
  The offset of the current data chunk within the total data.
- **`success`** (`boolean`, required)
  Whether the data was returned successfully.
- **`totalLength`** (`number`, required)
  The total length of the data across all chunks.
