Structures

The following structures are available globally.

  • Core entity representation of an email folder business rule. Depicts the information of a user’s email folder and related information.

    Declaration

    Swift

    public struct EmailFolderEntity : Equatable
  • Result type of an API that returns multiple records. Supports partial results.

    See more

    Declaration

    Swift

    public struct BatchOperationResult<S, F>
    extension BatchOperationResult: Sendable where S: Sendable, F: Sendable
  • Representation of the result of an unsuccessful operation performed on an email message

    See more

    Declaration

    Swift

    public struct EmailMessageOperationFailureResult : Error, Equatable, Sendable
  • Representation of email configuration data in Platform SDK.

    See more

    Declaration

    Swift

    public struct ConfigurationData : Equatable, Sendable
  • Declaration

    Swift

    public struct DateRange : Equatable, Sendable
  • The result of a successful email message delete

    See more

    Declaration

    Swift

    public struct DeleteEmailMessageSuccessResult : Equatable, Sendable
  • Representation of a draft email message object associated with a draft email message in Platform SDK.

    See more

    Declaration

    Swift

    public struct DraftEmailMessage : Equatable, Sendable
  • Representation of a draft email message metadata object associated with a draft email message in Platform SDK.

    See more

    Declaration

    Swift

    public struct DraftEmailMessageMetadata : Sendable
  • Declaration

    Swift

    public struct EmailAddress : Equatable, Sendable
  • Representation of email address public information associated with an email address in the Platform SDK.

    See more

    Declaration

    Swift

    public struct EmailAddressPublicInfo : Equatable, Sendable
  • Representation of public key details associated with an email address in the Platform SDK.

    See more

    Declaration

    Swift

    public struct EmailAddressPublicKey : Equatable, Sendable
  • Declaration

    Swift

    public struct EmailAttachment : Hashable, Equatable, Sendable
  • Representation of an email domain object associated with an email address in Platform SDK.

    The EmailDomain struct represents an email domain that may be associated with an email address. It contains the domain name, a flag indicating whether it is a mask domain, and metadata about the domain.

    See more

    Declaration

    Swift

    public struct EmailDomain : Hashable, Sendable
  • Declaration

    Swift

    public struct EmailFolder : Equatable, Sendable
  • Representation of an Email Mask used in Sudo Email SDK.

    See more

    Declaration

    Swift

    public struct EmailMask : Equatable, Sendable
  • Representation of a email message object associated with a email message in Platform SDK.

    See more

    Declaration

    Swift

    public struct EmailMessage : Equatable, Sendable
  • Representation of an email message object without any unsealed attributes associated with a email message in Platform SDK.

    See more

    Declaration

    Swift

    public struct PartialEmailMessage : Equatable, Sendable
  • Representation of an email message date range used in the Sudo Platform Email SDK.

    Note that both timestamps cannot be specified otherwise an InvalidArgumentError will occur.

    See more

    Declaration

    Swift

    public struct EmailMessageDateRange : Equatable, Sendable
  • Representation of an email message with body attachments used in the Sudo Platform Email SDK.

    See more

    Declaration

    Swift

    public struct EmailMessageWithBody : Sendable
  • Filter for matching email messages by mailbox ID.

    See more

    Declaration

    Swift

    public struct MailboxIdsFilter : Equatable
  • Declaration

    Swift

    public struct EmailMaskFilter : Equatable
  • Declaration

    Swift

    public struct ScheduledDraftMessageFilter
  • Input object for cancelling a scheduled draft message

    See more

    Declaration

    Swift

    public struct CancelScheduledDraftMessageInput
  • input object for Provisioning an email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct CheckEmailAddressAvailabilityInput : Equatable
  • Input object for creating a custom EmailFolder

    See more

    Declaration

    Swift

    public struct CreateCustomEmailFolderInput
  • input object for creating a draft email message using SudoEmailClient The email address in the From field of the RFC6854 data must match either the maskAddress of the Email Mask associated with the emailMaskId property, if provided, otherwise the emailAddress of the Email Address associated with the senderEmailAddressId property.

    See more

    Declaration

    Swift

    public struct CreateDraftEmailMessageInput
  • Input object for deleting a custom EmailFolder

    See more

    Declaration

    Swift

    public struct DeleteCustomEmailFolderInput
  • input object for deleting draft email messages using SudoEmailClient

    See more

    Declaration

    Swift

    public struct DeleteDraftEmailMessagesInput
  • Input object for deleting all messages in a folder

    See more

    Declaration

    Swift

    public struct DeleteMessagesForFolderIdInput
  • Input object for deprovisioning an email mask using SudoEmailClient

    See more

    Declaration

    Swift

    public struct DeprovisionEmailMaskInput : Equatable
  • Input object for disabling an email mask using SudoEmailClient

    See more

    Declaration

    Swift

    public struct DisableEmailMaskInput : Equatable
  • Input object for enabling an email mask using SudoEmailClient

    See more

    Declaration

    Swift

    public struct EnableEmailMaskInput : Equatable
  • Input for the flushMessageBodyCache operation.

    See more

    Declaration

    Swift

    public struct FlushMessageBodyCacheInput : Sendable
  • input object for getting a draft email message using SudoEmailClient

    See more

    Declaration

    Swift

    public struct GetDraftEmailMessageInput
  • input object for getting an email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct GetEmailAddressInput : Equatable
  • input object for getting an email message using SudoEmailClient

    See more

    Declaration

    Swift

    public struct GetEmailMessageInput : Equatable
  • Input object containing an email message identifier and email address identifier used to retrieve the email message data.

    See more

    Declaration

    Swift

    public struct GetEmailMessageWithBodyInput : Equatable
  • Input object for listing draft email message metadata for an email address using SudoEmailClient.

    See more

    Declaration

    Swift

    public struct ListDraftEmailMessageMetadataForEmailAddressIdInput : Equatable
  • Input object for listing draft email message metadata using SudoEmailClient.

    See more

    Declaration

    Swift

    public struct ListDraftEmailMessageMetadataInput : Equatable
  • input object for getting a email addresses associated with a sudo using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ListEmailAddressesForSudoIdInput : Equatable
  • input object for getting an email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ListEmailAddressesInput : Equatable
  • input object for listing email folders for an email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ListEmailFoldersForEmailAddressIdInput : Equatable
  • Input object for listing email masks for owner using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ListEmailMasksForOwnerInput : Equatable
  • input object for listing email messages for an email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ListEmailMessagesForEmailAddressInput : Equatable
  • input object for listing email messages for an email folder using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ListEmailMessagesForEmailFolderIdInput : Equatable
  • Input object for listing email messages using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ListEmailMessagesInput : Equatable
  • Input object for listing scheduled draft messages for an email address

    See more

    Declaration

    Swift

    public struct ListScheduledDraftMessagesForEmailAddressIdInput
  • Input object for retrieving public info for email addresses using SudoEmailClient.

    See more

    Declaration

    Swift

    public struct LookupEmailAddressesPublicInfoInput : Equatable
  • input object for Provisioning an email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ProvisionEmailAddressInput : Equatable
  • Input object for provisioning an email mask using SudoEmailClient

    See more

    Declaration

    Swift

    public struct ProvisionEmailMaskInput : Equatable
  • Input object for scheduling a draft message to be sent at a specified poit in the future

    See more

    Declaration

    Swift

    public struct ScheduleSendDraftMessageInput
  • Input object containing information required to send an email message.

    See more

    Declaration

    Swift

    public struct SendEmailMessageInput : Equatable
  • object defining the values to be set when updating a custom email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct UpdateCustomEmailFolderValues : Equatable
  • input object for updating a custom email folder using SudoEmailClient

    See more

    Declaration

    Swift

    public struct UpdateCustomEmailFolderInput : Equatable
  • input object for updating a draft email message using SudoEmailClient The email address in the From field of the RFC6854 data must match either the maskAddress of the Email Mask associated with the emailMaskId property, if provided, otherwise the emailAddress of the Email Address associated with the senderEmailAddressId property.

    See more

    Declaration

    Swift

    public struct UpdateDraftEmailMessageInput
  • object defining the values to be set when updating email address metadata using SudoEmailClient

    See more

    Declaration

    Swift

    public struct UpdateEmailAddressMetadataValues : Equatable
  • input object for updating an email address’ metadata using SudoEmailClient

    See more

    Declaration

    Swift

    public struct UpdateEmailAddressMetadataInput : Equatable
  • Input object for updating an email mask using SudoEmailClient

    See more

    Declaration

    Swift

    public struct UpdateEmailMaskInput : Equatable
  • object defining the values to be set when updating a list of email messages using SudoEmailClient

    See more

    Declaration

    Swift

    public struct UpdateEmailMessagesValues : Equatable
  • input object for updating a list of email messages using SudoEmailClient

    See more

    Declaration

    Swift

    public struct UpdateEmailMessagesInput : Equatable
  • Input object for verifying an external email address using SudoEmailClient

    See more

    Declaration

    Swift

    public struct VerifyExternalEmailAddressInput : Equatable
  • Representation of the email headers formatted under the RFC-6854 (supersedes RFC 822) standard. Some further rules (beyond RFC 6854) must also be applied to the data:

    • At least one recipient must exist (to, cc, bcc).
    • For all email addresses:
      • Total length (including both local part and domain) must not exceed 256 characters.
      • Local part must not exceed more than 64 characters.
      • Input domain parts (domain separated by .) must not exceed 63 characters.
      • Address must match standard email address pattern: ^[a-zA-Z0-9](\.?[-_a-zA-Z0-9])*@[a-zA-Z0-9](-*\.?[a-zA-Z0-9])*\.[a-zA-Z](-?[a-zA-Z0-9])+$.
    See more

    Declaration

    Swift

    public struct InternetMessageFormatHeader : Equatable, Sendable
  • Declaration

    Swift

    public struct PartialResult<P>
    extension PartialResult: Sendable where P: Sendable
  • Generic Type to wrap around an Output SudoEmail type from a List result.

    This is useful for pagination requests and can use its nextToken to call the next paginated results.

    See more

    Declaration

    Swift

    public struct ListOutput<T>
    extension ListOutput: Equatable where T: Equatable
    extension ListOutput: Sendable where T: Sendable
  • Representation of an Owner object from the Email Service.

    This represents the relationship of a unique identifier (id) with the issuer.

    See more

    Declaration

    Swift

    public struct Owner : Hashable, Sendable
  • Declaration

    Swift

    public struct ScheduledDraftMessage : Equatable, Sendable
  • Result type of an API call to send an email message

    See more

    Declaration

    Swift

    public struct SendEmailMessageResult : Sendable
  • Representation of an unsealed blocked email address in Platform SDK

    See more

    Declaration

    Swift

    public struct UnsealedBlockedAddress : Sendable
  • The result of a successful email message update

    See more

    Declaration

    Swift

    public struct UpdatedEmailMessageSuccess : Sendable
  • Result of verifying an external email address

    See more

    Declaration

    Swift

    public struct VerifyExternalEmailAddressResult : Equatable, Sendable
  • Representation of an Sudo Platform Email service messageReceived notification

    See more

    Declaration

    Swift

    public struct EmailMessageReceivedNotification : SudoNotification, Equatable
  • Catch all notification in case new Sudo Platform Email Service notifications are emitted before an application has updated its Sudo Platform Email Notification Extension SDK

    See more

    Declaration

    Swift

    public struct EmailUnknownNotification : SudoNotification, Equatable