DefaultSudoEmailClient
public class DefaultSudoEmailClient : SudoEmailClientDefault Client API Endpoint for interacting with the Email Service.
- 
                  
                  Initialize an instance of DefaultSudoEmailClient. It uses configuration parameters defined insudoplatformconfig.jsonfile located in the app bundle.DeclarationSwift public convenience init(keyNamespace: String = SudoEmailCommon.Constants.defaultKeyNamespace, userClient: SudoUserClient) throwsParameterskeyNamespaceNamespace to use for the keys and passwords. This should be left as the default property. userClientSudoUserClient instance used for authentication. Throws: 
- 
                  reset()AsynchronousDeclarationSwift public func reset() async throws
- 
                  provisionEmailAddress(withInput:Asynchronous) DeclarationSwift public func provisionEmailAddress( withInput input: ProvisionEmailAddressInput ) async throws -> EmailAddress
- 
                  deprovisionEmailAddress(_:Asynchronous) DeclarationSwift public func deprovisionEmailAddress(_ id: String) async throws -> EmailAddress
- 
                  updateEmailAddressMetadata(withInput:Asynchronous) DeclarationSwift public func updateEmailAddressMetadata(withInput input: UpdateEmailAddressMetadataInput) async throws -> String
- 
                  sendEmailMessage(withInput:Asynchronous) DeclarationSwift public func sendEmailMessage(withInput input: SendEmailMessageInput) async throws -> SendEmailMessageResult
- 
                  deleteEmailMessages(withIds:Asynchronous) DeclarationSwift public func deleteEmailMessages(withIds ids: [String]) async throws -> BatchOperationResult<DeleteEmailMessageSuccessResult, EmailMessageOperationFailureResult>
- 
                  deleteEmailMessage(withId:Asynchronous) DeclarationSwift public func deleteEmailMessage(withId id: String) async throws -> DeleteEmailMessageSuccessResult?
- 
                  updateEmailMessages(withInput:Asynchronous) DeclarationSwift public func updateEmailMessages( withInput input: UpdateEmailMessagesInput ) async throws -> BatchOperationResult<UpdatedEmailMessageSuccess, EmailMessageOperationFailureResult>
- 
                  createDraftEmailMessage(withInput:Asynchronous) DeclarationSwift public func createDraftEmailMessage( withInput input: CreateDraftEmailMessageInput ) async throws -> DraftEmailMessageMetadata
- 
                  updateDraftEmailMessage(withInput:Asynchronous) DeclarationSwift public func updateDraftEmailMessage( withInput input: UpdateDraftEmailMessageInput ) async throws -> DraftEmailMessageMetadata
- 
                  deleteDraftEmailMessages(withInput:Asynchronous) DeclarationSwift public func deleteDraftEmailMessages( withInput input: DeleteDraftEmailMessagesInput ) async throws -> BatchOperationResult<DeleteEmailMessageSuccessResult, EmailMessageOperationFailureResult>
- 
                  scheduleSendDraftMessage(withInput:Asynchronous) DeclarationSwift public func scheduleSendDraftMessage( withInput input: ScheduleSendDraftMessageInput ) async throws -> ScheduledDraftMessage
- 
                  cancelScheduledDraftMessage(withInput:Asynchronous) DeclarationSwift public func cancelScheduledDraftMessage( withInput input: CancelScheduledDraftMessageInput ) async throws -> String
- 
                  
                  DeclarationSwift public func listScheduledDraftMessagesForEmailAddressId( withInput input: ListScheduledDraftMessagesForEmailAddressIdInput ) async throws -> ListOutput<ScheduledDraftMessage>
- 
                  createCustomEmailFolder(withInput:Asynchronous) DeclarationSwift public func createCustomEmailFolder(withInput input: CreateCustomEmailFolderInput) async throws -> EmailFolder
- 
                  deleteCustomEmailFolder(withInput:Asynchronous) DeclarationSwift public func deleteCustomEmailFolder(withInput input: DeleteCustomEmailFolderInput) async throws -> EmailFolder?
- 
                  updateCustomEmailFolder(withInput:Asynchronous) DeclarationSwift public func updateCustomEmailFolder(withInput input: UpdateCustomEmailFolderInput) async throws -> EmailFolder
- 
                  
                  DeclarationSwift public func importKeys(archiveData: Data) throws
- 
                  
                  DeclarationSwift public func exportKeys() throws -> Data
- 
                  checkEmailAddressAvailability(withInput:Asynchronous) DeclarationSwift public func checkEmailAddressAvailability(withInput input: CheckEmailAddressAvailabilityInput) async throws -> [String]
- 
                  getSupportedEmailDomains()AsynchronousDeclarationSwift public func getSupportedEmailDomains() async throws -> [String]
- 
                  getConfiguredEmailDomains()AsynchronousDeclarationSwift public func getConfiguredEmailDomains() async throws -> [String]
- 
                  getEmailAddress(withInput:Asynchronous) DeclarationSwift public func getEmailAddress(withInput input: GetEmailAddressInput) async throws -> EmailAddress?
- 
                  listEmailAddresses(withInput:Asynchronous) DeclarationSwift public func listEmailAddresses(withInput input: ListEmailAddressesInput) async throws -> ListOutput<EmailAddress>
- 
                  listEmailAddressesForSudoId(withInput:Asynchronous) DeclarationSwift public func listEmailAddressesForSudoId(withInput input: ListEmailAddressesForSudoIdInput) async throws -> ListOutput<EmailAddress>
- 
                  lookupEmailAddressesPublicInfo(withInput:Asynchronous) DeclarationSwift public func lookupEmailAddressesPublicInfo(withInput input: LookupEmailAddressesPublicInfoInput) async throws -> [EmailAddressPublicInfo]
- 
                  
                  DeclarationSwift public func blockEmailAddresses( addresses: [String], action: UnsealedBlockedAddress.BlockedAddressAction, emailAddressId: String?, blockLevel: BlockedEmailAddressLevel, ) async throws -> BatchOperationResult<String, String>
- 
                  unblockEmailAddresses(addresses:Asynchronous) DeclarationSwift public func unblockEmailAddresses(addresses: [String]) async throws -> BatchOperationResult<String, String>
- 
                  unblockEmailAddressesByHashedValue(hashedValues:Asynchronous) DeclarationSwift public func unblockEmailAddressesByHashedValue(hashedValues: [String]) async throws -> BatchOperationResult<String, String>
- 
                  getEmailAddressBlocklist()AsynchronousDeclarationSwift public func getEmailAddressBlocklist() async throws -> [UnsealedBlockedAddress]
- 
                  listEmailFoldersForEmailAddressId(withInput:Asynchronous) DeclarationSwift public func listEmailFoldersForEmailAddressId( withInput input: ListEmailFoldersForEmailAddressIdInput ) async throws -> ListOutput<EmailFolder>
- 
                  getEmailMessage(withInput:Asynchronous) DeclarationSwift public func getEmailMessage(withInput input: GetEmailMessageInput) async throws -> EmailMessage?
- 
                  listEmailMessages(withInput:Asynchronous) DeclarationSwift public func listEmailMessages( withInput input: ListEmailMessagesInput ) async throws -> ListAPIResult<EmailMessage, PartialEmailMessage>
- 
                  listEmailMessagesForEmailAddressId(withInput:Asynchronous) DeclarationSwift public func listEmailMessagesForEmailAddressId( withInput input: ListEmailMessagesForEmailAddressInput ) async throws -> ListAPIResult<EmailMessage, PartialEmailMessage>
- 
                  listEmailMessagesForEmailFolderId(withInput:Asynchronous) DeclarationSwift public func listEmailMessagesForEmailFolderId( withInput input: ListEmailMessagesForEmailFolderIdInput ) async throws -> ListAPIResult<EmailMessage, PartialEmailMessage>
- 
                  getEmailMessageRfc822Data(withInput:Asynchronous) DeclarationSwift @available(*, deprecated, message: "Use getEmailMessageWithBody instead to retrieve email message data") public func getEmailMessageRfc822Data(withInput input: GetEmailMessageRfc822DataInput) async throws -> Data
- 
                  getEmailMessageWithBody(withInput:Asynchronous) DeclarationSwift public func getEmailMessageWithBody(withInput input: GetEmailMessageWithBodyInput) async throws -> EmailMessageWithBody?
- 
                  listDraftEmailMessages()AsynchronousDeclarationSwift @available(*, deprecated, message: "Use listDraftEmailMessageForEmailAddressId instead to reduce unneccessary network calls.") public func listDraftEmailMessages() async throws -> [DraftEmailMessage]
- 
                  
                  DeclarationSwift public func listDraftEmailMessagesForEmailAddressId(emailAddressId: String) async throws -> [DraftEmailMessage]
- 
                  listDraftEmailMessageMetadata()AsynchronousDeclarationSwift @available(*, deprecated, message: "Use listDraftEmailMessageMetadataForEmailAddressId instead to reduce unneccessary network calls.") public func listDraftEmailMessageMetadata() async throws -> [DraftEmailMessageMetadata]
- 
                  
                  DeclarationSwift public func listDraftEmailMessageMetadataForEmailAddressId(emailAddressId: String) async throws -> [DraftEmailMessageMetadata]
- 
                  getDraftEmailMessage(withInput:Asynchronous) DeclarationSwift public func getDraftEmailMessage( withInput input: GetDraftEmailMessageInput ) async throws -> DraftEmailMessage?
- 
                  deleteMessagesForFolderId(withInput:Asynchronous) DeclarationSwift public func deleteMessagesForFolderId(withInput input: DeleteMessagesForFolderIdInput) async throws -> String
- 
                  getConfigurationData()AsynchronousDeclarationSwift public func getConfigurationData() async throws -> ConfigurationData
- 
                  subscribe(id:AsynchronousnotificationType: subscriber: ) DeclarationSwift public func subscribe(id: String, notificationType: SubscriptionNotificationType, subscriber: Subscriber) async throws
- 
                  unsubscribe(id:Asynchronous) DeclarationSwift public func unsubscribe(id: String) async
- 
                  unsubscribeAll()AsynchronousDeclarationSwift public func unsubscribeAll() async
 DefaultSudoEmailClient Class Reference
      DefaultSudoEmailClient Class Reference