added basic email subscription support