Email Post: Design and implementation of pragmatic clinical trials using the electronic medical record and an adaptive design