EmailMask

data class EmailMask(val id: String, val owner: String, val owners: List<Owner>, val identityId: String, val maskAddress: String, val realAddress: String, val realAddressType: EmailMaskRealAddressType, val status: EmailMaskStatus, val inboundReceived: Int, val inboundDelivered: Int, val outboundReceived: Int, val outboundDelivered: Int, val spamCount: Int, val virusCount: Int, val expiresAt: Date?, val createdAt: Date, val updatedAt: Date, val version: Int, val metadata: Map<String, String>?) : Parcelable

Representation of an email mask used in the Sudo Platform Email SDK.

An email mask provides a privacy layer by allowing users to create temporary or permanent email addresses that forward messages to their real email address. This enables users to protect their real email address from spam, tracking, and unwanted communications while maintaining the ability to receive and send emails.

Constructors

Link copied to clipboard
constructor(id: String, owner: String, owners: List<Owner>, identityId: String, maskAddress: String, realAddress: String, realAddressType: EmailMaskRealAddressType, status: EmailMaskStatus, inboundReceived: Int, inboundDelivered: Int, outboundReceived: Int, outboundDelivered: Int, spamCount: Int, virusCount: Int, expiresAt: Date?, createdAt: Date, updatedAt: Date, version: Int, metadata: Map<String, String>?)

Properties

Link copied to clipboard

The date and time when this email mask was created

Link copied to clipboard

The date and time when this email mask expires, if applicable

Link copied to clipboard
val id: String

The unique identifier of the email mask

Link copied to clipboard

The identity identifier associated with this email mask

Link copied to clipboard

The total number of inbound messages successfully delivered

Link copied to clipboard

The total number of inbound messages received by this mask

Link copied to clipboard

The publicly visible email address that serves as the mask

Link copied to clipboard

Optional key-value pairs for storing additional information about the mask

Link copied to clipboard

The total number of outbound messages successfully delivered

Link copied to clipboard

The total number of outbound messages received from this mask

Link copied to clipboard

The identifier of the user who owns this email mask

Link copied to clipboard

List of ownership information for this email mask

Link copied to clipboard

The actual email address that receives forwarded messages

Link copied to clipboard

The type of real address (INTERNAL or EXTERNAL)

Link copied to clipboard

The number of messages identified as spam

Link copied to clipboard

The current status of the email mask (ENABLED, DISABLED, LOCKED)

Link copied to clipboard

The date and time when this email mask was last updated

Link copied to clipboard

The version number

Link copied to clipboard

The number of messages identified as containing viruses

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)