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

# useScheduledEmailManagementDialogContext()

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

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Reads the scheduled-email management dialog context.

A replacement for the scheduled-email management dialog renders inside this context and reads the dashboard it's rendered on, the automations limit (`maxAutomations`, `unlimitedAutomations`), the scheduled exports to list (`automations`), and whether they are still loading (`isLoading`) from here.

Some members exist to wire internal machinery (`automationsInvalidationId`) and are not intended as a customization surface.

**Signature:**

```typescript
export declare function useScheduledEmailManagementDialogContext(): IScheduledEmailManagementDialogContextValue;
```
**Returns:**

[IScheduledEmailManagementDialogContextValue](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ischeduledemailmanagementdialogcontextvalue/index.md)
