Fix emails not sending on remind button click