package at.procon.dip.ingestion.mail;

import java.util.Map;

/**
 * Generic provider metadata for a mail message fetched from an upstream mail system.
 * Implementations may be backed by IMAP, EWS, Graph, Gmail API, filesystem replay, etc.
 */
public interface MailProviderEnvelope {

    MailProviderType providerType();

    String accountKey();

    String folderKey();

    String providerMessageKey();

    String providerThreadKey();

    Map<String, String> providerAttributes();
}
