---
id: object/page/8893
type: object
title: Page 8893 "Email Scenario Setup"
summary: Page 8893 "Email Scenario Setup" in System Application (System.Email). 1 public procedures. Present since at least BC23, still in BC30, changed in BC29.
tier: official
language: en
tags:
  - page
  - system application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 10facf98d9d15554fbb265ff004a87ceb477b460399248e9c1a81dd6c63edc97
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Email/src/Scenario/EmailScenarioSetup.Page.al
    title: src/System Application/App/Email/src/Scenario/EmailScenarioSetup.Page.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/admin-how-setup-email
    title: Set up email in Business Central
    date: null
    commit: null
    t: null
    quote: null
links:
  learn:
    - https://learn.microsoft.com/dynamics365/business-central/admin-how-setup-email
  objects: []
  features: []
  topics:
    - topic/business-central/business-functionality/set-up-business-central/set-up-email
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: page
object_id: 8893
name: Email Scenario Setup
caption: Email Scenario Assignment
namespace: System.Email
app: System Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids:
  - docs/learn-smb-docs/business-central/admin-how-setup-email.md
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 0
  controls: 2
  actions: 4
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 3
  called_by: 0
  implements: 0
---

# Page 8893 "Email Scenario Setup"

> Page 8893 "Email Scenario Setup" in System Application (System.Email). 1 public procedures. Present since at least BC23, still in BC30, changed in BC29.

System Application · System.Email · captioned "Email Scenario Assignment" · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/Email/src/Scenario/EmailScenarioSetup.Page.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Email Scenario Assignment |
| Extensible | false |
| SourceTable | Email Account Scenario |
| PageType | List |
| UsageCategory | Administration |
| ApplicationArea | All |

## Fields on this page

Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control's own, else the bound field's (marked).

| Group | Control | Shows | ToolTip |
|---|---|---|---|
| ScenariosByEmail | Scenarios by email accounts | [Display Name](../table/8907.md#fields) | Specifies the scenarios that are using the email account. |
|  | Default | `DefaultTxt` | Specifies whether this is the default account to use for scenarios when no other account is specified. |

## Actions

| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Account | Assign scenarios | Assign email scenarios for the selected email account. When assigned, everyone will use the account for the scenario. For example, if you assign the Sales Order scenario, everyone will use the account to send sales orders. |  |
| Scenario | Reassign | Reassign the selected scenarios to another email account. |  |
|  | Unassign | Unassign the selected scenarios. Afterward, the default email account will be used to send emails for the scenarios. |  |
|  | Set Scenario Attachments | Attach one or more files that can be attached to emails for this scenario. |  |

## Procedures

- `SetEmailAccountId(AccountId: Guid; Connector: Enum "Email Connector")` (internal)

Plus 1 local procedures.

## Triggers

OnOpenPage, OnAfterGetRecord

## Relations

- source table [Table 8907 "Email Account Scenario"](../table/8907.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (1 call: `OnOpenPage → LogUptake`)
- [Codeunit 8889 "Email Account Impl."](../codeunit/8889.md) (1 call: `OnOpenPage → IsUserEmailAdmin`)
- [Codeunit 8892 "Email Scenario Impl."](../codeunit/8892.md) (1 call: `OnOpenPage → GetScenariosByEmailAccount`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC29

## Documented on Microsoft Learn

- [Set up email in Business Central](https://learn.microsoft.com/dynamics365/business-central/admin-how-setup-email)

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "page", object_name: "Email Scenario Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
