Zaslat záznam e-mailem: An operational target trial emulation framework for causal inference using electronic health record data