<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: -",
    "macOS: 15.0.0 -",
    "visionOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppIntents",
  "identifier" : "/documentation/AppIntents/AppSchema/MailEntity",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "App Intents",
      "AppIntents"
    ],
    "preciseIdentifier" : "s:10AppIntents0A6SchemaV10MailEntityP"
  },
  "title" : "AppSchema.MailEntity"
}
-->

# AppSchema.MailEntity

Identifies entity schemas in the mail domain.

```
protocol MailEntity : AppSchema.Kind
```

## Topics

### Instance Properties

[`var account: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MailEntity/account)

An entity schema for an account.

[`var draft: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MailEntity/draft)

An entity schema for a draft.

[`var mailbox: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MailEntity/mailbox)

An entity schema for a mailbox.

[`var message: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MailEntity/message)

An entity schema for a message.

[`var thread: some AppSchemaEntity`](/documentation/AppIntents/AppSchema/MailEntity/thread)

An entity schema for a thread.

## Relationships

### Inherits From

[`Kind`](/documentation/AppIntents/AppSchema/Kind)

### Conforming Types

[`Entity`](/documentation/AppIntents/AppSchema/Entity)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)