How can I conditionally send scheduled emails?