jmap-kit
    Preparing search index...

    Type Alias EmailImportRequestInvocationArgs

    The arguments for importing Email objects via an Email/import call

    type EmailImportRequestInvocationArgs = {
        accountId: Id;
        emails: Record<Id, EmailImport>;
        ifInState?: string | null;
    }
    Index

    Properties

    accountId: Id

    The id of the account to use.

    emails: Record<Id, EmailImport>

    A map of creation id (client specified) to EmailImport objects.

    ifInState?: string | null

    This is a state string as returned by the Email/get method. If supplied, the string must match the current state of the account referenced by the accountId; otherwise, the method will be aborted and a stateMismatch error returned. If null, any changes will be applied to the current state.