First draft of an email subscription handler