# LocalEmailParams

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

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

This composite type describes the parameters to be populated on creating a new local email.

## Properties

- **`additionalProps`** (`object`, optional)
  Additional properties.
- **`attachments`** (`string[] | AttachmentParams[]`, optional)
  An array of the full paths to existing files to be attached OR an array of objects with the name and data of
  each attachment to be dynamically created and attached.
- **`bcc`** (`string | string[]`, optional)
  The blind co-recipient(s) of the email.
- **`body`** (`string`, optional)
  The body text of the email, formatted as a plain string.
- **`bodyHtml`** (`string`, optional)
  The body of the email, formatted as an HTML string.
- **`cc`** (`string | string[]`, optional)
  The co-recipient(s) of the email.
- **`cookie`** (`string`, optional)
  The cookie of the email.
- **`location`** (`Email | CommonOutlookFolder | string`, required)
  The location where the local email will be created.
- **`sender`** (`string`, required)
  The sender of the email.
- **`subject`** (`string`, required)
  The subject field of the email.
- **`to`** (`string | string[]`, required)
  The primary recipient(s) of the email.

## Related types

- [AttachmentParams](https://docs.interop.io/adapters/reference/javascript/outlook/attachmentparams/index.md)
- [CommonOutlookFolder](https://docs.interop.io/adapters/reference/javascript/outlook/commonoutlookfolder/index.md)
- [Email](https://docs.interop.io/adapters/reference/javascript/outlook/email/index.md)
