Parameters to block email addresses
The results of the operation
Check if an email address is available to be provisioned within a domain.
Parameters used to perform the email addresses check.
Returns the fully qualified email addresses, filtering out already used email addresses.
Create a custom email folder for the email address identified by emailAddressId.
Parameters used to create a custom email folder.
The created custom email folder.
Create a draft email message in RFC 6854 (supersedes RFC 822)(https://tools.ietf.org/html/rfc6854) format.
Parameters used to create a draft email message.
The metadata of the saved draft email message.
Delete a custom email folder for the email address identified by emailAddressId. When a custom folder is deleted, any messages in the folder will be moved to TRASH.
Parameters used to delete a custom email folder.
The deleted folder, or undefined if folder was not found.
Delete the draft email messages identified by the list of ids.
Draft email messages can only be deleted in batches of 10. Anything greater will throw a LimitExceededError.
Any draft email message ids that do not exist will be marked as success. Any emailAddressId that is not owned or does not exist, will throw an error.
Parameters used to delete a draft email message.
The status of the delete: Success - All draft email messages succeeded to delete. Partial - Only a partial amount of draft email messages succeeded to delete. Includes a list of the identifiers of the draft email messages that failed and succeeded to delete. Failure - All draft email messages failed to delete.
Delete a single email message identified by id.
The identifier of the email message to be deleted.
Result object containing the identifier of the email message that was deleted, or undefined if the email message could not be deleted.
NotRegisteredError
LimitExceededError
ServiceError
Delete the email messages identified by the list of ids.
Email messages can only be deleted in batches of 100. Anything greater will throw a LimitExceededError.
A list of one or more identifiers of the email messages to be deleted. There is a limit of 100 email message ids per API request. Exceeding this will cause an error to be thrown.
The status of the delete: Success - All email messages succeeded to delete. Partial - Only a partial amount of messages succeeded to delete. Includes a list of the identifiers of the email messages that failed and succeeded to delete. Failure - All email messages failed to delete.
NotRegisteredError
InvalidArgumentError
LimitExceededError
ServiceError
Deprovision an email address.
The identifier of the email address to deprovision.
The deprovisioned email address.
Get the configuration data for the email service.
The configuration data for the email service.
Get a list of all of the email domains for which end-to-end encryption is supported.
Optional
cachePolicy: CachePolicyDetermines how the configured email domains will be fetched. Default usage is
remoteOnly
.
A list of all configured domains.
NotRegisteredError
ServiceError
Get a draft email message that has been previously saved.
Parameters used to retrieve a draft email message.
The draft email message identified by id or undefined if not found.
Get an email address identified by id.
Parameters used to retrieve an email address.
The email address identified by id or undefined if the email address cannot be found.
Get email address blocklist for logged in user
The list of unsealed blocked addresses
Get an email message identified by id.
Parameters used to retrieve an email message.
The email message identified by id or undefined if the email message cannot be found.
Parameters used to retrieve the data of the email message.
The data associated with the email message or undefined if the email message cannot be found.
Use getEmailMessageWithBody
instead to retrieve the body and attachment data.
Get the RFC 6854 (supersedes RFC 822) data of the email message.
Get the body and attachment data of an EmailMessage
Parameters used to retrieve the data of the email message.
The data associated with the email message or undefined if not found
Get a list of all of the email domains on which emails may be provisioned.
Optional
cachePolicy: CachePolicyDetermines how the supported email domains will be fetched. Default usage is
remoteOnly
.
A list of supported domains.
NotRegisteredError
ServiceError
Lists the metadata of all draft email messages for the user.
An array of draft email message metadata or an empty array if no matching draft email messages can be found.
Lists the metadata of all draft email messages for the specified email address identifier.
The identifier of the email address associated with the draft email messages.
An array of draft email message metadata or an empty array if no matching draft email messages can be found.
Lists the metadata and content of all draft email messages for the user.
An array of draft email messages or an empty array if no matching draft email messages can be found.
Lists the metadata and content of all draft messages for the specified email address identifier.
The identifier of the email address associated with the draft email messages.
An array of draft email messages or an empty array if no matching draft email messages can be found.
Get a list of all provisioned email addresses for the signed in user.
Optional
input: ListEmailAddressesInputParameters used to retrieve a list of provisioned email addresses.
List operation result.
Get a list of provisioned email addresses owned by the Sudo identified by sudoId.
Parameters used to retrieve a list of provisioned email addresses for a sudoId.
List operation result.
Get a list of email folders associated with the email address identified by emailAddressId.
Parameters used to retrieve a list of email folders for an emailAddressId.
An array of email folders or an empty array if no matching email folders can be found.
Get the list of all email messages for the user.
Parameters used to retrieve a list of all email messages for a user.
List operation result.
Get the list of email messages for the specified email address.
Parameters used to retrieve a list of email messages for an emailAddressId.
List operation result.
Get the list of email messages for the specified email folder.
Parameters used to retrieve a list of email messages for a folderId.
List operation result.
Get a list of public information objects associated with the provided email addresses.
Results can only be retrieved in batches of 50. Anything greater will throw a LimitExceededError.
Parameters used to retrieve a list of public information objects for a list of email addresses.
An array of public info objects, or an empty array if email addresses or their public keys cannot be found.
LimitExceededError
Provision an email address.
Parameters used to provision an email address. Email addresses must meet the following criteria:
.
) must not exceed 63 characters.^[a-zA-Z0-9](\.?[-_a-zA-Z0-9])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$
.The provisioned email address.
NotRegisteredError
InvalidTokenError
InsufficientEntitlementsError
ServiceError
Send an email message using RFC 6854 (supersedes RFC 822)(https://tools.ietf.org/html/rfc6854) data.
Email messages sent to in-network recipients (i.e. email addresses that exist within the Sudo Platform) will be sent end-to-end encrypted.
Parameters used to send an email message.
The identifier of the email message that is being sent.
NotAuthorizedError
NotRegisteredError
LimitExceededError
InsufficientEntitlementsError
Subscribe to email message events.
unique identifier to differentiate subscriptions; note that specifying a duplicate subscription id will replace the previous subscription.
implementation of callback to be invoked when email message event occurs
Unblock email address(es) for the given owner
Parameters to unblock email addresses
The results of the operation
Unblock email address(es) for the given owner
Parameters to unblock email addresses
The results of the operation
Update the custom email folder identified by emailFolderId
Parameters used to update a custom email folder.
The updated email folder.
Update a draft email message in RFC 6854 (supersedes RFC 822)(https://tools.ietf.org/html/rfc6854) format.
Parameters used to update a draft email message.
The metadata of the updated draft email message.
Update the metadata of an email address.
Parameters used to update the metadata of an email address.
The id of the updated email address.
NotRegisteredError
ServiceError
Update the email messages identified by the list of ids.
Email messages can only be updated in batches of 100. Anything greater will throw a LimitExceededError.
Parameters used to update a list of email messages.
The status of the update: Success - All email messages succeeded to update. Partial - Only a partial amount of messages succeeded to update. Includes a list of the identifiers of the email messages that failed and succeeded to update. Failure - All email messages failed to update.
NotRegisteredError
LimitExceededError
InvalidArgumentError
Block email address(es) for the given owner