jmap-kit
    Preparing search index...

    Variable maskedEmailAccountSupportPluginConst

    maskedEmailAccountSupportPlugin: ValidationPlugin<"invocation"> = ...

    Validates that invocations using the MaskedEmail capability have a valid accountId that supports the MaskedEmail capability.

    This plugin performs three critical validation checks:

    1. Verifies the invocation includes a valid accountId argument (non-empty string)
    2. Confirms the account exists in the session's accounts collection
    3. Ensures the account's accountCapabilities includes the MaskedEmail capability URI

    This validation applies to all MaskedEmail capability invocations (MaskedEmail/get, MaskedEmail/set) and implements the account capability checks for the FastMail Masked Email extension.