ETASCOM CRM V3 - Documentation API
    Preparing search index...
    interface EmailDocument {
        id: string;
        subject: string;
        from: string;
        fromName?: string | null;
        to: string[];
        cc: string[];
        bcc: string[];
        status: EmailDocumentStatus;
        isRead: boolean;
        folder: string;
        hasAttachments: boolean;
        attachmentCount: number;
        attachments?: Record<string, unknown> | null;
        receivedDate: string;
        sentDate?: string | null;
        matchedUserId?: string | null;
        matchedUserEmail?: string | null;
        matchConfidence?: number | null;
        businessOpportunityId?: string | null;
        createdAffaireId?: string | null;
        businessOpportunity?:
            | {
                id: string;
                name: string;
                number: string;
                stage: string;
                status: string;
            }
            | null;
        createdAffaire?: | {
            id: string;
            name: string;
            number: string;
            stage: string;
            status: string;
        }
        | null;
        config?: { id: string; name: string; email: string }
        | null;
        attachmentFiles: EmailAttachmentFile[];
        textBody?: string | null;
        htmlBody?: string | null;
        notes?: string | null;
        documentType?: string | null;
    }
    Index

    Properties

    id: string
    subject: string
    from: string
    fromName?: string | null
    to: string[]
    cc: string[]
    bcc: string[]
    isRead: boolean
    folder: string
    hasAttachments: boolean
    attachmentCount: number
    attachments?: Record<string, unknown> | null
    receivedDate: string
    sentDate?: string | null
    matchedUserId?: string | null
    matchedUserEmail?: string | null
    matchConfidence?: number | null
    businessOpportunityId?: string | null
    createdAffaireId?: string | null
    businessOpportunity?:
        | {
            id: string;
            name: string;
            number: string;
            stage: string;
            status: string;
        }
        | null
    createdAffaire?:
        | {
            id: string;
            name: string;
            number: string;
            stage: string;
            status: string;
        }
        | null
    config?: { id: string; name: string; email: string } | null
    attachmentFiles: EmailAttachmentFile[]
    textBody?: string | null
    htmlBody?: string | null
    notes?: string | null
    documentType?: string | null