> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IScheduledEmailSaveState

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/scheduledEmail/state/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The scheduled-export dialog's save path.

**Signature:**

```typescript
export interface IScheduledEmailSaveState 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [handleSaveScheduledEmail](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemailsavestate/index.md#ischeduledemailsavestatehandlesavescheduledemail) |  | () =&gt; void | **_(BETA)_** Creates the schedule (draft without an id) or updates it (draft with one), after sanitizing it. |
| [isSavingScheduledEmail](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemailsavestate/index.md#ischeduledemailsavestateissavingscheduledemail) |  | boolean | **_(BETA)_** Whether a create or update is in flight. |
| [savingErrorMessage](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemailsavestate/index.md#ischeduledemailsavestatesavingerrormessage) |  | string \| undefined | **_(BETA)_** A 400 response's detail message, shown in the dialog without closing it; undefined otherwise. |

## Property details

### IScheduledEmailSaveState.handleSaveScheduledEmail

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Creates the schedule (draft without an id) or updates it (draft with one), after sanitizing it.

**Signature:**

```typescript
handleSaveScheduledEmail: () => void;
```

### IScheduledEmailSaveState.isSavingScheduledEmail

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Whether a create or update is in flight.

**Signature:**

```typescript
isSavingScheduledEmail: boolean;
```

### IScheduledEmailSaveState.savingErrorMessage

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

A 400 response's detail message, shown in the dialog without closing it; undefined otherwise.

**Signature:**

```typescript
savingErrorMessage: string | undefined;
```
