Search…
Configuration Data
Allow your users to obtain configuration details that include the various limits that apply to emails.

Get Configuration Data

A call to getConfigurationData returns the various limits applied to email sending and receiving, as well as the limits applied to email management.
TypeScript
1
// Interface representing the configuration data returned
2
export interface ConfigurationData {
3
deleteEmailMessagesLimit: number
4
updateEmailMessagesLimit: number
5
emailMessageMaxInboundMessageSize: number
6
emailMessageMaxOutboundMessageSize: number
7
}
8
9
try {
10
const configurationData = await emailClient.getConfigurationData()
11
// `configurationData` contains the various limits configured for emails.
12
} catch {
13
// Handle/notify user of errors
14
}
Copied!
Last modified 5mo ago
Copy link