> For the complete documentation index, see [llms.txt](https://docs.maildrop.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maildrop.cc/graphql-types/message.md).

# Message

```graphql
type Message {
        id: String
        ip: String
        helo: String
        date: String
        mailfrom: String
        rcptto: [String]
        headerfrom: String
        subject: String
        data: String
        html: String
}
```

<table><thead><tr><th width="159">Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>id</strong></td><td>A 10-character unique id for each message.</td></tr><tr><td><strong>ip</strong></td><td>The ip address of the originating mail server. This can be in either ipv4 or ipv6 format.</td></tr><tr><td><strong>helo</strong></td><td>The domain specified in the RFC 821 "HELO (domain)" SMTP greeting sent by the originating mail server.</td></tr><tr><td><strong>date</strong></td><td>An ISO-8601 compatible string representing the date the message was received by Maildrop.</td></tr><tr><td><strong>mailfrom</strong></td><td>The email address specified in the RFC 821 "MAIL FROM:&#x3C;address@domain.com>" SMTP sender sent by the originating mail server.</td></tr><tr><td><strong>rcptto</strong></td><td>An array of destination addresses specified in the RFC 821 "RCPT TO:&#x3C;destination@you.com>" SMTP recipient sent by the originating mail server.</td></tr><tr><td><strong>headerfrom</strong></td><td>The contents of the "From:" header in the email message.</td></tr><tr><td><strong>subject</strong></td><td>The contents of the "Subject:" header in the email message.</td></tr><tr><td><strong>data</strong></td><td>The raw SMTP email message sent to Maildrop.</td></tr><tr><td><strong>html</strong></td><td>If the message contained a MIME multipart html, that html data is here, otherwise this field contains the plain text body of the message.</td></tr></tbody></table>

{% hint style="danger" %}
**Note**: The **data** and **html** fields are only available when you are querying [a specific message](/api-reference/get-a-specific-message.md). For performance reasons, you should get the listing of messages, then retrieve the messages you're looking for one at a time.
{% endhint %}
