---
title: emailHeaders
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cssearchableitemattributeset/emailheaders
---

# emailHeaders

A dictionary that contains all the headers of the message.

## Declaration

```swift
var emailHeaders: [String : [Any]]? { get set }
```

## Discussion

Discussion Dictionary keys are header names and the values are arrays of strings, because one header can occur more than once in an email message.

## See Also

### Describing messages

- [Common Mailbox Identifiers](corespotlight/common-mailbox-identifiers.md)
- [htmlContentData](corespotlight/cssearchableitemattributeset/htmlcontentdata.md)
- [accountHandles](corespotlight/cssearchableitemattributeset/accounthandles.md)
- [accountIdentifier](corespotlight/cssearchableitemattributeset/accountidentifier.md)
- [additionalRecipients](corespotlight/cssearchableitemattributeset/additionalrecipients.md)
- [authorAddresses](corespotlight/cssearchableitemattributeset/authoraddresses.md)
- [authorEmailAddresses](corespotlight/cssearchableitemattributeset/authoremailaddresses.md)
- [authorNames](corespotlight/cssearchableitemattributeset/authornames.md)
- [authors](corespotlight/cssearchableitemattributeset/authors.md)
- [emailAddresses](corespotlight/cssearchableitemattributeset/emailaddresses.md)
- [hiddenAdditionalRecipients](corespotlight/cssearchableitemattributeset/hiddenadditionalrecipients.md)
- [instantMessageAddresses](corespotlight/cssearchableitemattributeset/instantmessageaddresses.md)
- [likelyJunk](corespotlight/cssearchableitemattributeset/likelyjunk.md)
- [mailboxIdentifiers](corespotlight/cssearchableitemattributeset/mailboxidentifiers.md)
- [phoneNumbers](corespotlight/cssearchableitemattributeset/phonenumbers.md)
