Table of Contents

Namespace System.Email

Codeunit

Name Summary
Codeunit System.Email."Email Attachment Upgrade" Upgrade email attachments to be of type Media instead of BLOB.
Codeunit System.Email."Email Account" Provides functionality to work with email accounts.
Codeunit System.Email."Default Email Connector v2" This is the default implementation of the Email Connector v2 interface which adds the reply, retrievial of emails and marking them as read functionalities.
Codeunit System.Email."Default Email Rate Limit"
Codeunit System.Email.Email Provides functionality to create and send emails.
Codeunit System.Email."Email Address Lookup" Provides functionality to run an email address lookup.
Codeunit System.Email."Email Message" Codeunit to create and manage email messages.
Codeunit System.Email."Email Scenario" Provides functionality to work with email scenarios.
Codeunit System.Email."Email Test Mail" Sends a test email to a specified account.

Table

Name Summary
Table System.Email."Email Account" A common representation of an email account.
Table System.Email."Email Related Record" Holds the relations between emails and records.
Table System.Email."Email Address Lookup" Temporary table that holds email address suggestions. Table is used when user lookup addresses in the email editor.
Table System.Email."Email Related Attachment" Temporary table that holds information about attachments related to an email.
Table System.Email."Email Attachments" Temporary Table used to get Email Attachments related to Email Scenario
Table System.Email."Email Scenario Attachments" Table used to get Email Attachments related to Email Scenario
Table System.Email."Email Folders" Holds information about the filters for retrieving emails.
Table System.Email."Email Inbox" Holds information about emails retrieved from an inbox.
Table System.Email."Email Retrieval Filters" Holds information about the filters for retrieving emails.
Table System.Email."Email Outbox" Holds information about draft emails and email that are about to be sent.
Table System.Email."Sent Email" Holds information about the sent emails.

Page

Name Summary
Page System.Email."Email Account Folders"
Page System.Email."Email Accounts" Lists all of the registered email accounts
Page System.Email."Email Account Wizard" Step by step guide for adding a new email account in Business Central
Page System.Email."Email Activities" Provides information about the status of the emails.
Page System.Email."Email Relation Picker"
Page System.Email."Email Retry Detail"
Page System.Email."Email Address Lookup" Page to view suggested addresses.
Page System.Email."Email Attachments"
Page System.Email."Email Related Attachments" Displays a list of related attachments to an email.
Page System.Email."Email Rate Limit Wizard" Page is used to display email rate limit usage by email accounts.
Page System.Email."Email Scenario Setup" Page is used to display email scenarios usage by email accounts.
Page System.Email."Email Scenarios FactBox" Lists of all scenarios assigned to an account.
Page System.Email."Email Scenarios for Account" Displays the scenarios that could be linked to a provided e-mail account.
Page System.Email."Email User-Specified Address" A page to enter an email address.
Page System.Email."Email Choose Scenario Attach" Page is used to upload the attachments from the scenario.
Page System.Email."Email Scenario Attach Setup" Page is used to set the attachments for the scenario.
Page System.Email."Email Editor" A page to create, edit and send e-mails.
Page System.Email."Email Outbox" Displays information about email that are queued for sending.
Page System.Email."Email Viewer" A page to view sent emails.
Page System.Email."Sent Emails" Provides an overview of all e-mail that were sent out.
Page System.Email."Sent Emails List Part" Provides an overview of all e-mail that were sent out in a ListPart.
Page System.Email."Email View Policy List" Page to display and control what view policies users have been assigned.

Enum

Name Summary
Enum System.Email."Email Connector" Enum that holds all of the available email connectors.
Enum System.Email."Email Relation Origin" Represent how a email relation was added to an email.
Enum System.Email."Email Relation Type" Represent the type of relation between an email and a source record.
Enum System.Email."Email Address Entity" System entity of record with email address.
Enum System.Email."Email Recipient Type" Specifies the type of an email recipient.
Enum System.Email."Email Scenario" Email scenarios. Used to decouple email accounts from sending emails.
Enum System.Email."Email Action" Defines the action that the user can take when open an email message in the editor modally.
Enum System.Email."Email Status" Specifies the status of an email when it is in the outbox.
Enum System.Email."Email View Policy" Available policies that can be assigned to a user.

Interface

Name Summary
Interface System.Email."Default Email Rate Limit" A default email rate limit interface used to limit how many e-mails per second a connector can send.
Interface System.Email."Email Connector" An e-mail connector interface used to creating e-mail accounts and sending an e-mail.
Interface System.Email."Email Connector v2" An e-mail connector interface enhances the "Email Connector" with reading, replying to e-mails and marking emails as read.
Interface System.Email."Email Connector v3" An e-mail connector interface enhances the "Email Connector" with reading, replying to e-mails and marking emails as read.
Interface System.Email."Email Connector v4" An e-mail connector interface enhances the "Email Connector" with reading, replying to e-mails and marking emails as read.
Interface System.Email."Email View Policy" The interface for a email view policy. Email view policies decide the emails that a given User can view.

PermissionSet

Name Summary
PermissionSet System.Email."Email - Admin"
PermissionSet System.Email."Email - Edit"

Events

Name Summary
OnAfterValidateEmailAddress
OnAfterDeleteEmailAccount
OnShowSource Integration event to show an email source record.
OnAfterAddRelation Integration event to add additional relations based on added relation to emails.
OnAfterRemoveRelation Integration event to execute code when relation is removed from email.
OnGetBodyForTestEmail Integration event to override the default email body for test messages.
OnFindRelatedAttachments Integration event to get the names and IDs of attachments related to a source record.
OnGetAttachment Integration event that requests an attachment to be added to an email.
OnEnqueuedInOutbox Integration event to implement additional validation after the email message has been enqueued in the email outbox.
OnEnqueuedReplyInOutbox Integration event to implement additional validation after the email message has been enqueued in the email outbox.
OnAfterEmailSent Integration event that notifies senders when the email has been sent successfully. This event is isolated.
OnAfterEmailSendFailed Integration event that notifies senders when the email has been sent unsuccessfully. This event is isolated.
OnBeforeOpenEmailEditor Integration event that allows updating of the email message before the email editor opens.
OnBeforeSendEmail Integration event that allows updating of the email message before the email is queued for sending.
OnBeforeReplyEmail Integration event that allows updating of the email message before the email is queued for replying.
OnBeforeGetEmailAttachmentsByEmailScenarios Integration event that allows adding filters to the Email Scenario Attachments before they are retrieved.
OnGetSuggestedAddresses Event that allows subscribers to populate the list of "Suggested Email Addresses" in the Email Address Lookup.
OnLookupAddressFromEntity Event that retrieves email address information from a specified entity.
OnGetAttachmentContent Integration event to provide the stream of data for a given MediaID. If attachment content has been deleted, this event makes it possible to provide the data from elsewhere.
OnBeforeInsertAvailableEmailScenario Event for changing whether an email scenario should be added to the list of assignable scenarios. If the scenario has already been assigned or is the default scenario, this event won't be published.