> ISPO SDK documentation. [HTML](https://ispo.ai/docs/interfaces/core.GoogleMailMessageInput.html) · [Documentation index](https://ispo.ai/docs/llms.txt)

# Interface GoogleMailMessageInput

Structured compose input; the host builds the RFC 2822 payload from it and never accepts caller-supplied raw MIME.

```typescript
interface GoogleMailMessageInput {
    attachments?: GoogleMailAttachmentInput[];
    bcc?: string[];
    cc?: string[];
    html?: string;
    replyToMessageId?: string;
    subject?: string;
    text?: string;
    to?: string[];
}
```

Types: [attachments](#attachments), [GoogleMailAttachmentInput](core.Supporting_types.GoogleMailAttachmentInput.md), [bcc](#bcc), [cc](#cc), [html](#html), [replyToMessageId](#replytomessageid), [subject](#subject), [text](#text), [to](#to)

##### Index

### <a id="properties"></a>Properties

[attachments?](#attachments) [bcc?](#bcc) [cc?](#cc) [html?](#html) [replyToMessageId?](#replytomessageid) [subject?](#subject) [text?](#text) [to?](#to)

## <a id="properties-1"></a>Properties

### <a id="attachments"></a>`Optional`attachments

```typescript
attachments?: GoogleMailAttachmentInput[]
```

Types: [GoogleMailAttachmentInput](core.Supporting_types.GoogleMailAttachmentInput.md)

Files rows to attach, resolved to bytes host-side. The host bounds these at 10 attachments and 25 MB of total source bytes per message and refuses past either — it never truncates the set.

### <a id="bcc"></a>`Optional`bcc

```typescript
bcc?: string[]
```

### <a id="cc"></a>`Optional`cc

```typescript
cc?: string[]
```

### <a id="html"></a>`Optional`html

```typescript
html?: string
```

### <a id="replytomessageid"></a>`Optional`replyToMessageId

```typescript
replyToMessageId?: string
```

Reply to a message seen through `messages.read` on the same account. The host resolves its `Message-ID`/`References` headers and thread id; the caller never writes a mail header.

### <a id="subject"></a>`Optional`subject

```typescript
subject?: string
```

### <a id="text"></a>`Optional`text

```typescript
text?: string
```

### <a id="to"></a>`Optional`to

```typescript
to?: string[]
```
