Wyślij emailem: A Modular Architecture for Electronic Health Record-Driven Phenotyping